Bug #58205 Valgrind failure in fn_format when called from archive_discover
| Submitted: | 15 Nov 2010 15:15 | Modified: | 11 Jan 2011 11:38 |
|---|---|---|---|
| Reporter: | Mats Kindahl | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Archive storage engine | Severity: | S3 (Non-critical) |
| Version: | 5.5 | OS: | Linux |
| Assigned to: | Sergey Vojtovich | CPU Architecture: | Any |
[15 Nov 2010 15:15]
Mats Kindahl
[1 Dec 2010 12:54]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/125651 3151 Sergey Vojtovich 2010-12-01 BUG#58205 - Valgrind failure in fn_format when called from archive_discover Fixed buffer underrun in cleanup_dirname(). Also fixed that original (unencoded) database and table names were used to discover archive tables. @ mysql-test/r/archive.result A test case for BUG#58205. @ mysql-test/t/archive.test A test case for BUG#58205. @ mysys/mf_pack.c Fixed buffer underrun in cleanup_dirname(), when it gets path like "a/../" (relative path, where first directory is to be cut off). @ storage/archive/ha_archive.cc Handler discover method gets database and table names as is. It must use build_table_filename() to get name similar to what it gets on create() and open().
[17 Dec 2010 12:51]
Bugs System
Pushed into mysql-5.5 5.5.9 (revid:georgi.kodinov@oracle.com-20101217124733-p1ivu6higouawv8l) (version source revid:sergey.vojtovich@oracle.com-20101208121011-gd8fvhvog8s3dfab) (merge vers: 5.5.8) (pib:24)
[17 Dec 2010 12:56]
Bugs System
Pushed into mysql-trunk 5.6.1 (revid:georgi.kodinov@oracle.com-20101217125013-y8pb3az32rtbplc9) (version source revid:anitha.gopi@sun.com-20101210041312-50t9adyhwwybsm6x) (merge vers: 5.6.1) (pib:24)
[11 Jan 2011 11:38]
Tony Bedford
An entry has been added to the 5.5.9 and 5.6.1 changelogs:
A Valgrind failure occurred in fn_format when
called from archive_discover.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.043 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.