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

cracklib plugin crashes server on CREATE ROLE

    XMLWordPrintable

Details

    • 10.1.14

    Description

      CREATE ROLE crashes the server when using the cracklib password validation plugin.

      stack_bottom = 0x7fba1d89e130 thread_stack 0x48400
      /usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x7fba1e40c71e]
      /usr/sbin/mysqld(handle_fatal_signal+0x38d)[0x7fba1df38b2d]
      /lib64/libpthread.so.0(+0xf100)[0x7fba1d557100]
      /lib64/libc.so.6(+0x86461)[0x7fba1b6f8461]
      /usr/sbin/mysqld(+0xac46a9)[0x7fba1e44c6a9]
      /usr/sbin/mysqld(my_vsnprintf_ex+0x282)[0x7fba1e44d452]
      mysys/stacktrace.c:247(my_print_stacktrace)[0x7fba1e403209]
      cracklib_password_check/cracklib_password_check.c:41(crackme)[0x7fba1e3d3256]
      sql/sql_acl.cc:896(do_validate)[0x7fba1dd4b676]
      /usr/sbin/mysqld(_Z24plugin_foreach_with_maskP3THDPFcS0_P13st_plugin_intPvEijS3_+0x206)[0x7fba1ddc8b36]
      sql/sql_plugin.cc:2369(plugin_foreach_with_mask(THD*, char (*)(THD*, st_plugin_int*, void*), int, unsigned int, void*))[0x7fba1dd523eb]
      sql/sql_acl.cc:9499(mysql_create_user(THD*, List<st_lex_user>&, bool))[0x7fba1dd5c17f]
      sql/sql_parse.cc:4620(mysql_execute_command(THD*))[0x7fba1ddb99f1]
      sql/sql_parse.cc:7305(mysql_parse(THD*, char*, unsigned int, Parser_state*))[0x7fba1ddc03ae]
      sql/sql_parse.cc:1486(dispatch_command(enum_server_command, THD*, char*, unsigned int))[0x7fba1ddc386b]
      sql/sql_parse.cc:1109(do_command(THD*))[0x7fba1ddc40e9]
      sql/sql_connect.cc:1349(do_handle_one_connection(THD*))[0x7fba1de8759a]
      sql/sql_connect.cc:1263(handle_one_connection)[0x7fba1de87770]
      /lib64/libpthread.so.0(+0x7dc5)[0x7fba1d54fdc5]
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              kolbe Kolbe Kegel (Inactive)
              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.