Bug #21311 | Possible stack overrun if SP has non-latin1 name | ||
---|---|---|---|
Submitted: | 27 Jul 2006 11:41 | Modified: | 4 Oct 2006 2:32 |
Reporter: | Andrey Hristov | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Stored Routines | Severity: | S2 (Serious) |
Version: | 5.0 | OS: | Any (All) |
Assigned to: | Andrey Hristov | CPU Architecture: | Any |
[27 Jul 2006 11:41]
Andrey Hristov
[30 Aug 2006 16:12]
Tomash Brechko
Approved by e-mail with several comments.
[30 Aug 2006 19:35]
Petr Chardin
approved by email (after adding a test)
[27 Sep 2006 19:30]
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/12648 ChangeSet@1.2257, 2006-09-27 21:23:17+02:00, andrey@example.com +3 -0 Fix for bug#21311: Possible stack overrun if SP has non-latin1 name There was possible stack overrun in an edge case which handles invalid body of a SP in mysql.proc . That should be case when mysql.proc has been changed manually. Though, due to bug 21513, it can be exploited without having access to mysql.proc only being able to create a stored routine.
[3 Oct 2006 19:37]
Dmitry Lenev
Fixed in 5.0.27 and 5.1.12
[4 Oct 2006 2:32]
Paul DuBois
Noted in 5.0.27, 5.1.12 changelogs. It was possible for a stored routine with a non-latin1 name to cause a stack overrun.
[25 Oct 2006 16:46]
Paul DuBois
The 5.0.x fix is in 5.0.30.