Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-6773

Initialize values in sha256_password_authenticate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.7.28-31, 8.0.18-9
    • Fix Version/s: 8.0.19-10, 5.7.30-33
    • Component/s: None
    • Labels:

      Description

      [ 52%] main.plugin_auth_sha256_2                w6 [ fail ]  Found warnings/errors in server log file!
              Test ended at 2020-01-08 11:23:39
      line
      ==30250== Thread 26:
      ==30250== Conditional jump or move depends on uninitialised value(s)
      ==30250==    at 0x483BC35: strlen (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==30250==    by 0x17418E6: sha256_password_authenticate(st_plugin_vio*, st_mysql_server_auth_info*) (sql_authentication.cc:3058)
      ==30250==    by 0x173ECE7: do_auth_once(THD*, st_mysql_const_lex_string const&, MPVIO_EXT*) (sql_authentication.cc:1959)
      ==30250==    by 0x173F82C: acl_authenticate(THD*, enum_server_command, bool) (sql_authentication.cc:2235)
      ==30250==    by 0x151E51C: check_connection(THD*, bool) (sql_connect.cc:1307)
      ==30250==    by 0x151E6B0: login_connection(THD*, bool) (sql_connect.cc:1364)
      ==30250==    by 0x151EED8: thd_prepare_connection(THD*, bool) (sql_connect.cc:1527)
      ==30250==    by 0x16C103B: handle_connection (connection_handler_per_thread.cc:319)
      ==30250==    by 0x19D8459: pfs_spawn_thread (pfs.cc:2198)
      ==30250==    by 0x485B181: start_thread (pthread_create.c:486)
      ==30250==    by 0x52B3B1E: clone (clone.S:95)

       

      This affects:

      • auth_sec.multiple_plugins
      • main.plugin_auth_sha256_server_default
      • main.plugin_auth_sha256_2
      • main.plugin_auth_sha256
      • auth_sec.server_withssl_client_withoutssl
      • sys_vars.sha256_password_proxy_users_func
      • auth_sec.server_withssl_client_withoutssl
      • auth_sec.access_credential_control
      • auth_sec.key_value_auth
      • auth_sec.mysql_sha256_plugin
      • auth_sec.password_expired

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              marcelo.altmann Marcelo Altmann
              Reporter:
              marcelo.altmann Marcelo Altmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 4 hours, 30 minutes
                  4h 30m