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

SIGSEGV in internal_str2dec

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 12.0.2
    • N/A
    • N/A
    • None
    • Not for Release Notes

    Description

      CREATE DATABASE IF NOT EXISTS HuangHe;
      USE HuangHe;
      CREATE  TABLE v00 (c01 INT , c02 TEXT);
      CREATE  INDEX i03 ON v00 (c01);
      INSERT  INTO v00 (c01, c02) VALUES (0, 'abc' );
      INSERT LOW_PRIORITY IGNORE v00 SET c01 = TRUE <=> TRUE  IN ( SELECT  'string' ) NOT  IN ( FALSE <=> VALUE ( c02 ) DIV INTERVAL ( FALSE <=> FALSE  IN ( SELECT  'string' ), FALSE ) & TRUE ^ FALSE  IN ( SELECT  NOT  TRUE <=> TRUE  IN ( SELECT  'string' ) ), TRUE <=> FALSE  IN ( SELECT  'string' ) ) ON DUPLICATE KEY  UPDATE c01 = DEFAULT RETURNING *;
      DROP TABLE v00;
      

      mariadbd(internal_str2dec+0x45)[0x5a449d208bf5]
      mariadbd(Z14str2my_decimaljPKcmPK15charset_info_stP10my_decimalPS0+0x176)[0x5a449ce52766]
      mariadbd(_ZN10Field_blob11val_decimalEP10my_decimal+0x83)[0x5a449ccfe703]
      mariadbd(_ZN17Item_func_int_div7val_intEv+0x8d)[0x5a449cd9144d]

      Attachments

        Activity

          People

            Unassigned Unassigned
            maohaogang maohaogang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.