Bug #2399 | .../libmysql/xml.c::my_xml_scan() boundary check | ||
---|---|---|---|
Submitted: | 15 Jan 2004 7:56 | Modified: | 19 Oct 2004 21:56 |
Reporter: | [ name withheld ] | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | >= 4.1 | OS: | Any (any) |
Assigned to: | Kent Boortz | CPU Architecture: | Any |
[15 Jan 2004 7:56]
[ name withheld ]
[19 Oct 2004 19:47]
Kent Boortz
Purify also complains that we read outside the buffer in my_xml_scan(). The uploaded patch file should correct the problem.
[19 Oct 2004 19:50]
Kent Boortz
Check that we have enough buffer left before calling memcmp()
Attachment: xml.c.patch (application/octet-stream, text), 1.26 KiB.