Bug #10841 | Buffer overflow in "mysql" client may cause unexpected crash | ||
---|---|---|---|
Submitted: | 24 May 2005 19:38 | Modified: | 20 Jun 2005 22:07 |
Reporter: | Reid Borsuk | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 4.1.12 | OS: | Windows (Windows) |
Assigned to: | Jim Winstead | CPU Architecture: | Any |
[24 May 2005 19:38]
Reid Borsuk
[24 May 2005 19:57]
MySQL Verification Team
I was unable to repeat the crash with 4.1.12 on XP Pro: -> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -> AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -> AAAAAAAAAAAAA; ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ve rsion for the right syntax to use near 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAA' at line 1 mysql> quit Bye Is there something I am missing for to reproduce the crash ?
[24 May 2005 20:05]
Reid Borsuk
I beleve you are pasting all those A's on seperate lines, from the amount of ->'s you have. Be sure that you create one single long line, the bug tracker seems to split lines at 80 characters.
[24 May 2005 20:14]
MySQL Verification Team
Thank you for the feedback.
[7 Jun 2005 22:44]
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/internals/25735
[11 Jun 2005 6:30]
Jim Winstead
Fixed in 4.1.13 and 5.0.8.
[20 Jun 2005 22:07]
Mike Hillyer
Documented in 4.1.13 and 5.0.8 changelogs.