[MDEV-9908] cracklib plugin crashes server on CREATE ROLE Created: 2016-04-13  Updated: 2016-04-30  Resolved: 2016-04-30

Status: Closed
Project: MariaDB Server
Component/s: Authentication and Privilege System, Plugins
Affects Version/s: 10.1.13, 10.1
Fix Version/s: 10.1.14

Type: Bug Priority: Blocker
Reporter: Kolbe Kegel (Inactive) Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-9851 CREATE USER w/o IDENTIFIED BY clause ... Closed
relates to MDEV-9940 CREATE ROLE blocked by password valid... Closed
Sprint: 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]



 Comments   
Comment by Sergei Golubchik [ 2016-04-30 ]

This will be closed by MDEV-9851 and MDEV-9940

Generated at Thu Feb 08 07:38:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.