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

UBSAN: plugins.auth_v0100 - runtime error: call to function do_auth_0x0100 through pointer to incorrect function type

Details

    Description

      plugins.auth_v0100 test:

      10.6

      2025-03-21  4:36:08 4 [Warning] Plugin 'auth_0x0100' is of maturity level experimental while the server is stable
      /source/sql/sql_acl.cc:14302:14: runtime error: call to function do_auth_0x0100 through pointer to incorrect function type 'int (*)(st_plugin_vio *, st_mysql_s
      erver_auth_info *)'
      /source/plugin/auth_examples/auth_0x0100.c:60: note: do_auth_0x0100 defined here
          #0 0x5589bd2d4b3b in do_auth_once(THD*, st_mysql_const_lex_string const*, MPVIO_EXT*) /source/sql/sql_acl.cc:14302:14
          #1 0x5589bd2c8e78 in acl_authenticate(THD*, unsigned int) /source/sql/sql_acl.cc:14444:12
          #2 0x5589bdab86e8 in check_connection(THD*) /source/sql/sql_connect.cc:1062:12
          #3 0x5589bdab86e8 in login_connection(THD*) /source/sql/sql_connect.cc:1128:10
          #4 0x5589bdabd148 in thd_prepare_connection(THD*) /source/sql/sql_connect.cc:1312:7
          #5 0x5589bdabc92e in do_handle_one_connection(CONNECT*, bool) /source/sql/sql_connect.cc:1376:9
          #6 0x5589bdabc2d2 in handle_one_connection /source/sql/sql_connect.cc:1298:5
          #7 0x5589bd0f0476 in asan_thread_start(void*) asan_interceptors.cpp.o
          #8 0x7fdfe6b571c3  (/lib/x86_64-linux-gnu/libc.so.6+0x891c3) (BuildId: c047672cae7964324658491e7dee26748ae5d2f8)
          #9 0x7fdfe6bd785b  (/lib/x86_64-linux-gnu/libc.so.6+0x10985b) (BuildId: c047672cae7964324658491e7dee26748ae5d2f8)
      

      Attachments

        Issue Links

          Activity

            There are no comments yet on this issue.

            People

              Unassigned Unassigned
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.