Bug #16312 XML: extractvalue() crash if angle brackets
Submitted: 9 Jan 2006 23:18 Modified: 27 Feb 2006 7:28
Reporter: Peter Gulutzan Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: XML functions Severity:S3 (Non-critical)
Version:5.1.5-alpha-debug OS:Linux (SUSE 10.0)
Assigned to: Assigned Account CPU Architecture:Any

[9 Jan 2006 23:18] Peter Gulutzan
Description:
With extractvalue(), I use <a> in a certain place. Crash.

How to repeat:
mysql> select extractvalue('<a>A</a>','/<a>');
ERROR 2013 (HY000): Lost connection to MySQL server during query
[9 Jan 2006 23:38] MySQL Verification Team
mysql> select extractvalue('<a>A</a>','/<a>');
ERROR 2013 (HY000): Lost connection to MySQL server during query
mysql>
[27 Feb 2006 7:27] 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/3170
[27 Feb 2006 7:28] Alexander Barkov
The fix for bug#16234 fixed this one as well.