diff options
author | unknown <sanja@montyprogram.com> | 2013-09-12 21:36:58 +0300 |
---|---|---|
committer | unknown <sanja@montyprogram.com> | 2013-09-12 21:36:58 +0300 |
commit | 7a80c534ad0eb7d71e67999e27d1759d6a8fbf95 (patch) | |
tree | b99b7631d8ff53371c9d9d0852bf6732ba655a5d /sql/sql_yacc.yy | |
parent | ada15c7a0f7947073664451c3804ab03723c657e (diff) | |
download | mariadb-git-7a80c534ad0eb7d71e67999e27d1759d6a8fbf95.tar.gz |
MDEV-4645: Incorrect reads of frozen binlog events; FDE corrupted in relay log
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.
It is rewritten in some details patch of Jeremy Cole (See MDEV):
- The virtual function returns length to avoid IFs (and only one call of the virtual function made)
- Printing function avoids printing strings
Diffstat (limited to 'sql/sql_yacc.yy')
0 files changed, 0 insertions, 0 deletions