• Sujatha's avatar
    MDEV-18046: Assortment of crashes, assertion failures and ASAN errors in mysql_show_binlog_events · 2187f1c2
    Sujatha authored
    Problem:
    ========
    SHOW BINLOG EVENTS FROM <pos> reports following ASAN error
    "heap-buffer-overflow on address" and some times it asserts.
    
    Table_map_log_event::Table_map_log_event(const char*, uint,
        const Format_description_log_event*)
    Assertion `m_field_metadata_size <= (m_colcnt * 2)' failed.
    
    Fix:
    ===
    **Part7: Avoid reading out of buffer**
    
    
    Converted debug assert to error handler code.
    2187f1c2
log_event.cc 421 KB