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

UBSAN: mysys/hash.c:197:20: runtime error: call to function get_sys_var_length

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.5.25
    • N/A
    • Compiling

    Description

      clang-18

      /source/mysys/hash.c:197:20: runtime error: call to function get_sys_var_length(sys_var const*, unsigned long*, char) through pointer to incorrect function type 'unsigned char *(*)(const unsigned char *, unsigned long *, char)'
      /source/sql/set_var.cc:53: note: get_sys_var_length(sys_var const*, unsigned long*, char) defined here
      SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /source/mysys/hash.c:197:20 
      

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.