Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0.3, 5.5.31
-
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
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | mdev_4645.patch [ 22411 ] |
Fix Version/s | 10.0.4 [ 13101 ] | |
Fix Version/s | 5.5.32 [ 13000 ] |
Priority | Minor [ 4 ] | Major [ 3 ] |
Attachment | mdev_4645_2.patch [ 22432 ] |
Assignee | Sergei Golubchik [ serg ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Summary | Incorrect reads of frozen binlog events | Incorrect reads of frozen binlog events; FDE corrupted in relay log |
Attachment | mdev_4645_3.patch [ 22602 ] |
Fix Version/s | 5.5.32 [ 13000 ] |
Assignee | Sergei Golubchik [ serg ] | Oleksandr Byelkin [ sanja ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Fix Version/s | 10.0.5 [ 13201 ] | |
Fix Version/s | 10.0.4 [ 13101 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | defaullt [ 27673 ] | MariaDB v2 [ 43712 ] |
Workflow | MariaDB v2 [ 43712 ] | MariaDB v3 [ 62877 ] |
Workflow | MariaDB v3 [ 62877 ] | MariaDB v4 [ 146769 ] |
The attached patch addresses the following:
H/-hexdump produces output. The new structure formats better (more closely to hexdump -C) without alignment errors, and with easier to visually parse fields. Additionally it is more extensible, allowing for downstream users (i.e. me) to parse additional header information with simpler patches.H/-hexdump handles headers of variable lengths (as above) correctly.