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

plugins.cracklib_password_check, plugins.two_password_validations fail in buildbot with valgrind (Conditional jump or move depends on uninitialised value)

    XMLWordPrintable

Details

    Description

      http://buildbot.askmonty.org/buildbot/builders/xenial-amd64-valgrind/builds/183/steps/test/logs/stdio

      plugins.cracklib_password_check          w4 [ fail ]  Found warnings/errors in server log file!
              Test ended at 2016-12-22 12:46:14
      line
      ==22530== Thread 8:
      ==22530== Conditional jump or move depends on uninitialised value(s)
      ==22530==    at 0x4C30A25: __GI_strchr (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==22530==    by 0x1084ECF0: crackme (cracklib_password_check.c:33)
      ==22530==    by 0x602A16: do_validate(THD*, st_plugin_int**, void*) (sql_acl.cc:891)
      ==22530==    by 0x6BDAB2: plugin_foreach_with_mask(THD*, char (*)(THD*, st_plugin_int**, void*), int, unsigned int, void*) (sql_plugin.cc:2376)
      ==22530==    by 0x602A8A: validate_password(st_lex_user*) (sql_acl.cc:902)
      ==22530==    by 0x60AE62: replace_user_table(THD*, TABLE*, st_lex_user&, unsigned long, bool, bool, bool) (sql_acl.cc:3461)
      ==22530==    by 0x615975: mysql_grant(THD*, char const*, List<st_lex_user>&, unsigned long, bool, bool) (sql_acl.cc:6494)
      ==22530==    by 0x6A7D1F: mysql_execute_command(THD*) (sql_parse.cc:5237)
      ==22530==    by 0x6AFC4E: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7842)
      ==22530==    by 0x69D551: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1799)
      ==22530==    by 0x69BF24: do_command(THD*) (sql_parse.cc:1359)
      ==22530==    by 0x7E8A06: do_handle_one_connection(CONNECT*) (sql_connect.cc:1354)
      ==22530== Conditional jump or move depends on uninitialised value(s)
      ==22530==    at 0x4C30A1A: __GI_strchr (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==22530==    by 0x1084ECF0: crackme (cracklib_password_check.c:33)
      ==22530==    by 0x602A16: do_validate(THD*, st_plugin_int**, void*) (sql_acl.cc:891)
      ==22530==    by 0x6BDAB2: plugin_foreach_with_mask(THD*, char (*)(THD*, st_plugin_int**, void*), int, unsigned int, void*) (sql_plugin.cc:2376)
      ==22530==    by 0x602A8A: validate_password(st_lex_user*) (sql_acl.cc:902)
      ==22530==    by 0x60AE62: replace_user_table(THD*, TABLE*, st_lex_user&, unsigned long, bool, bool, bool) (sql_acl.cc:3461)
      ==22530==    by 0x615975: mysql_grant(THD*, char const*, List<st_lex_user>&, unsigned long, bool, bool) (sql_acl.cc:6494)
      ==22530==    by 0x6A7D1F: mysql_execute_command(THD*) (sql_parse.cc:5237)
      ==22530==    by 0x6AFC4E: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7842)
      ==22530==    by 0x69D551: dispatch_command(enum_server_command, THD*, char*, unsigned int, bool, bool) (sql_parse.cc:1799)
      ==22530==    by 0x69BF24: do_command(THD*) (sql_parse.cc:1359)
      ==22530==    by 0x7E8A06: do_handle_one_connection(CONNECT*) (sql_connect.cc:1354)
      ==22530== Conditional jump or move depends on uninitialised value(s)
      ==22530==    at 0x4C315A5: __strncpy_sse2_unaligned (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==22530==    by 0x10A5495C: ??? (in /usr/lib/x86_64-linux-gnu/libcrack.so.2.9.0)
      ==22530==    by 0x10A550A0: ??? (in /usr/lib/x86_64-linux-gnu/libcrack.so.2.9.0)
      ==22530==    by 0x10A55326: FascistCheckUser (in /usr/lib/x86_64-linux-gnu/libcrack.so.2.9.0)
      ==22530==    by 0x1084ED28: crackme (cracklib_password_check.c:36)
      ==22530==    by 0x602A16: do_validate(THD*, st_plugin_int**, void*) (sql_acl.cc:891)
      ==22530==    by 0x6BDAB2: plugin_foreach_with_mask(THD*, char (*)(THD*, st_plugin_int**, void*), int, unsigned int, void*) (sql_plugin.cc:2376)
      ==22530==    by 0x602A8A: validate_password(st_lex_user*) (sql_acl.cc:902)
      ==22530==    by 0x60AE62: replace_user_table(THD*, TABLE*, st_lex_user&, unsigned long, bool, bool, bool) (sql_acl.cc:3461)
      ==22530==    by 0x615975: mysql_grant(THD*, char const*, List<st_lex_user>&, unsigned long, bool, bool) (sql_acl.cc:6494)
      ==22530==    by 0x6A7D1F: mysql_execute_command(THD*) (sql_parse.cc:5237)
      ==22530==    by 0x6AFC4E: mysql_parse(THD*, char*, unsigned int, Parser_state*, bool, bool) (sql_parse.cc:7842)
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              elenst Elena Stepanova
              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.