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

aes_decrypt crashes in block_crypt()!

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.1.5
    • 10.1.6
    • Encryption
    • None
    • Win x64
    • 10.1.6-1

    Description

      Version: '10.1.5-MariaDB'  mariadb.org binary distribution
      mysqld.exe!block_crypt()[my_crypt.cc:107]
      mysqld.exe!my_aes_decrypt_ecb()[my_crypt.cc:314]
      mysqld.exe!Item_aes_crypt::val_str()[item_strfunc.cc:406]
      mysqld.exe!Item_str_func::val_int()[item_strfunc.cc:148]
      mysqld.exe!mysql_do()[sql_do.cc:35]
      mysqld.exe!mysql_execute_command()[sql_parse.cc:2967]
      mysqld.exe!mysql_parse()[sql_parse.cc:7178]
      mysqld.exe!dispatch_command()[sql_parse.cc:1473]
      mysqld.exe!do_command()[sql_parse.cc:1093]
      mysqld.exe!threadpool_process_request()[threadpool_common.cc:233]
      mysqld.exe!io_completion_callback()[threadpool_win.cc:568]

      How To Repeat:
      ---------------------
      Started server with mysqld.exe --no-defaults --skip-name-resolve --console

      do aes_decrypt("",1)

      Attachments

        Activity

          Thanks for the report.

          Apparently, it only crashes when built with the bundled SSL.

          The problem was introduced with the following revision:

          commit b937574293ee731dc7b5c949d27fede1f5d17db5
          Author: Sergei Golubchik <serg@mariadb.org>
          Date:   Wed Mar 25 19:36:10 2015 +0100
           
              remove old my_aes_encrypt/decrypt
              
              and simplify Item_func_aes_encrypt/decrypt
           

          elenst Elena Stepanova added a comment - Thanks for the report. Apparently, it only crashes when built with the bundled SSL. The problem was introduced with the following revision: commit b937574293ee731dc7b5c949d27fede1f5d17db5 Author: Sergei Golubchik <serg@mariadb.org> Date: Wed Mar 25 19:36:10 2015 +0100   remove old my_aes_encrypt/decrypt and simplify Item_func_aes_encrypt/decrypt  

          People

            serg Sergei Golubchik
            sbester1 sbester1
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.