Bug #21288 mysqldump segmentation fault when using --where
| Submitted: | 26 Jul 2006 5:33 | Modified: | 4 Sep 2006 22:01 |
|---|---|---|---|
| Reporter: | Lachlan Mulcahy | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: mysqldump Command-line Client | Severity: | S3 (Non-critical) |
| Version: | 4.1.20 | OS: | Any (Any) |
| Assigned to: | Jim Winstead | CPU Architecture: | Any |
[26 Jul 2006 5:33]
Lachlan Mulcahy
[26 Jul 2006 5:47]
Lachlan Mulcahy
I should add that users running SELinux will not get to see any error message and instead SELinux will kill the mysqldump process with a "buffer overflow detected" message and print a stack dump.
[17 Aug 2006 20:59]
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/10603 ChangeSet@1.2538, 2006-08-17 14:09:24-07:00, jimw@rama.(none) +3 -0 Bug #21288: mysqldump segmentation fault when using --where The problem was that the error handling was using a too-small buffer to print the error message generated. We fix this by not using a buffer at all, but by using fprintf() directly. There were also some problems with the error handling in table dumping that was exposed by this fix that were also corrected.
[21 Aug 2006 19:11]
Chad MILLER
Patch 10603 looks good to me.
[1 Sep 2006 4:12]
Jim Winstead
Pushed into mysql-4.1-maint, mysql-5.0-maint, and mysql-5.1-new-maint.
[1 Sep 2006 11:01]
Magnus BlÄudd
Pushed to 4.1.22
[2 Sep 2006 9:31]
Timothy Smith
Merged to 5.0 (will be in 5.0.25) TODO: merge to 5.1
[4 Sep 2006 22:01]
Paul DuBois
Test case change. No changelog entry needed.
[13 Sep 2006 8:47]
Timothy Smith
Pushed to 5.1.12
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.045 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.