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

UBSAN: mf_keycache.c:5950:11: runtime error: call to function init_simple_key_cache

    XMLWordPrintable

Details

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

    Description

      clang-18

      10.5

      /source/mysys/mf_keycache.c:5950:11: runtime error: call to function init_simple_key_cache through pointer to incorrect function type 'int (*)(void *, unsigned int, unsigned long, unsigned int, unsigned int, unsigned int)'
      /source/mysys/mf_keycache.c:480: note: init_simple_key_cache defined here
      SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /source/mysys/mf_keycache.c:5950:11 
      

      And

      /source/mysys/mf_keycache.c:6152:5: runtime error: call to function end_simple_key_cache through pointer to incorrect function type 'void (*)(void *, char)'
      /source/mysys/mf_keycache.c:957: note: end_simple_key_cache defined here
      SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /source/mysys/mf_keycache.c:6152:5 
      

      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.