mirror of https://github.com/MariaDB/server
Browse Source
Problem: tag's buffer overflow leads to a problem.
Fix: bound check added.
sql/item_xmlfunc.cc:
Fix for BUG#15948580 UPDATE_XML() CRASHES THE SERVER.
- XML tag/attribute level shouldn't exceed MAX_LEVEL as we use a
static buffer to store them in the MY_XML_USER_DATA.
pull/843/head
1 changed files with 5 additions and 1 deletions
Loading…
Reference in new issue