• Ramil Kalimullin's avatar
    Fix for BUG#15948580 UPDATE_XML() CRASHES THE SERVER. · 0fa867fd
    Ramil Kalimullin authored
    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.
    0fa867fd
item_xmlfunc.cc 72.1 KB