| Bug #21288 | mysqldump segmentation fault when using --where | ||
|---|---|---|---|
| Submitted: | 26 Jul 2006 7:33 | Modified: | 5 Sep 2006 0:01 |
| Reporter: | Lachlan Mulcahy | ||
| Status: | Closed | ||
| Category: | Client | Severity: | S3 (Non-critical) |
| Version: | 4.1.20 | OS: | Any (Any) |
| Assigned to: | Jim Winstead | Target Version: | |
[26 Jul 2006 7:33]
Lachlan Mulcahy
[26 Jul 2006 7: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 22: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 21:11]
Chad MILLER
Patch 10603 looks good to me.
[1 Sep 2006 6:12]
Jim Winstead
Pushed into mysql-4.1-maint, mysql-5.0-maint, and mysql-5.1-new-maint.
[1 Sep 2006 13:01]
Magnus Blaudd
Pushed to 4.1.22
[2 Sep 2006 11:31]
Timothy Smith
Merged to 5.0 (will be in 5.0.25) TODO: merge to 5.1
[5 Sep 2006 0:01]
Paul DuBois
Test case change. No changelog entry needed.
[13 Sep 2006 10:47]
Timothy Smith
Pushed to 5.1.12
