Bug #6782 buffer overrun in myisam/mi_test3.c
Submitted: 23 Nov 2004 21:03 Modified: 24 Nov 2004 10:01
Reporter: [ name withheld ] Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: MyISAM storage engine Severity:S3 (Non-critical)
Version:4.1.7 OS:Any (all)
Assigned to: CPU Architecture:Any

[23 Nov 2004 21:03] [ name withheld ]
Description:
mi_test3.c line 366 does
strmov(record.text,"Testing...");
which is one more byte than will fit in the 10-byte buffer.

This is probably not too critical because of padding rules, but it ought to be fixed, if only to shut up the automated warnings I'm getting ...

How to repeat:
Read code.

Suggested fix:
Enlarge record.text[]
[24 Nov 2004 10:01] Sergei Golubchik
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

Additional info:

fixed
(though mi_test3 doesn't really matter :)