Bug #30955 | geomfromtext() crasher | ||
---|---|---|---|
Submitted: | 11 Sep 2007 15:32 | Modified: | 8 Nov 2007 23:41 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Data Types | Severity: | S1 (Critical) |
Version: | 5.1.23BK, 5.0.50BK | OS: | Any |
Assigned to: | Alexey Botchkov | CPU Architecture: | Any |
Tags: | geomfromtext, gis, spatial |
[11 Sep 2007 15:32]
Shane Bester
[11 Sep 2007 15:40]
MySQL Verification Team
better stack traces for 5.0.48 and 5.1.23BK
Attachment: bug30955_stack_traces.txt (text/plain), 5.54 KiB.
[3 Oct 2007 9:42]
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/34815 ChangeSet@1.2684, 2007-10-03 13:35:35+05:00, holyfoot@mysql.com +3 -0 Bug #30955 geomfromtext() crasher. end-of-line check missed in Gis_read_stream::get_next_word, what can lead to crashes (expecially with NULL strings). End-of-line check added
[3 Oct 2007 10:18]
Alexander Barkov
The patch http://lists.mysql.com/commits/34815 is ok to push
[29 Oct 2007 8:40]
Bugs System
Pushed into 4.1.24
[29 Oct 2007 8:42]
Bugs System
Pushed into 5.0.52
[29 Oct 2007 8:46]
Bugs System
Pushed into 5.1.23-beta
[29 Oct 2007 8:49]
Bugs System
Pushed into 6.0.4-alpha
[8 Nov 2007 23:41]
Paul DuBois
Noted in 4.1.24, 5.0.52, 5.1.23, 6.0.4 changelogs. The GeomFromText() function could cause a server crash if the first argument was NULL or the empty string.