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

Incorrect reads of frozen binlog events; FDE corrupted in relay log

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0.3, 5.5.31
    • 10.0.5
    • None
    • None
    • All

    Description

      Currently several places use description_event->common_header_len instead of LOG_EVENT_MINIMAL_HEADER_LEN when parsing events with "frozen" headers (such as Start_event_v3 and its subclasses such as Format_description_log_event, as well as Rotate_event). This causes events with extra headers (which would otherwise be valid and those headers ignored) to be corrupted due to over-reading or skipping into the data portion of the log events.

      Patch is forthcoming.

      Attachments

        1. mdev_4645.patch
          16 kB
        2. mdev_4645_2.patch
          1 kB
        3. mdev_4645_3.patch
          1 kB

        Activity

          People

            sanja Oleksandr Byelkin
            jeremycole Jeremy Cole
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.