-
Jaideep Karande authored
Issue: "SHOW BINLOG EVENTS FROM 490;" sometimes causes crash Reason: Code assumes position 490 is a valid event and reads header. If bytes in binlog file converts to an event and right length, it simply read data and converts to event. So invalid position, by chance, has good values(i.e. convertible to an event) in the header, at a position of event_type and event_length tricks the code. Later causing core dump during conversion to an event. Test case: main.ctype_cp932_binlog_stm Issue is duplicate of Bug#20286642(open) and WL#9562(open) Resolution: Removed statement "SHOW BINLOG EVENTS FROM 490;" from test-case for successfull run.
Jaideep Karande authoredIssue: "SHOW BINLOG EVENTS FROM 490;" sometimes causes crash Reason: Code assumes position 490 is a valid event and reads header. If bytes in binlog file converts to an event and right length, it simply read data and converts to event. So invalid position, by chance, has good values(i.e. convertible to an event) in the header, at a position of event_type and event_length tricks the code. Later causing core dump during conversion to an event. Test case: main.ctype_cp932_binlog_stm Issue is duplicate of Bug#20286642(open) and WL#9562(open) Resolution: Removed statement "SHOW BINLOG EVENTS FROM 490;" from test-case for successfull run.
Loading