Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-13971

crash in skip_num_constant

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.2.9
    • Fix Version/s: 10.2.11
    • Component/s: JSON
    • Labels:
      None
    • Environment:
      Win64
    • Sprint:
      10.2.11

      Description

      Version: '10.2.9-MariaDB'  socket: ''  port: 3306  mariadb.org binary distribution
      mysqld.exe!skip_num_constant()[json_lib.c:508]
      mysqld.exe!read_num()[json_lib.c:539]
      mysqld.exe!json_read_value()[json_lib.c:943]
      mysqld.exe!Item_func_json_unquote::read_json()[item_jsonfunc.cc:602]
      mysqld.exe!Item_func_json_unquote::val_str()[item_jsonfunc.cc:620]
      mysqld.exe!Item_str_func::update_null_value()[item_strfunc.h:74]
      mysqld.exe!Item_avg_field::is_null()[item_sum.h:1244]
      mysqld.exe!mysql_do()[sql_do.cc:34]
      mysqld.exe!mysql_execute_command()[sql_parse.cc:3495]
      mysqld.exe!mysql_parse()[sql_parse.cc:7880]
      mysqld.exe!dispatch_command()[sql_parse.cc:1814]
      mysqld.exe!do_command()[sql_parse.cc:1359]
      mysqld.exe!threadpool_process_request()[threadpool_common.cc:366]
      

      How to repeat
      #a few testcases....

      do json_valid(0x36f0c8dccd83c5eac156da);
      do json_type(0x34f4);
      do json_unquote(concat_ws(0xde131ca50deb,@g,21553,0x593c35));
      do json_type(0x38ea);
      do json_valid(0x31f21f91fe8361);
      do json_depth(0x33ec0b);
      do json_valid(0x36ec634665d6);
      do json_depth(reverse(0xd4ce69de33));
      do json_valid(0x30e40d);
      

        Attachments

          Activity

            People

            Assignee:
            holyfoot Alexey Botchkov
            Reporter:
            sbester1 sbester1
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: