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

Unaligned access in my_dir() (mysys/my_lib.c)

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • aarch64-linux

    Description

      The function casts an unaligned char array to a `struct dirent`. This is undefined behavior and will crash on hardware (arm) required aligned accesses. As this function is called during server startup, this bug renders the server completely unusable.

      Attachments

        Activity

          People

            Unassigned Unassigned
            labath Pavel Labath
            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.