• Sujatha's avatar
    MDEV-18046: Assortment of crashes, assertion failures and ASAN errors in mysql_show_binlog_events · bac33533
    Sujatha authored
    Problem:
    ========
    SHOW BINLOG EVENTS FROM <pos> reports following ASAN error
    
    AddressSanitizer: SEGV on unknown address
    The signal is caused by a READ memory access.
    User_var_log_event::User_var_log_event(char const*, unsigned int,
        Format_description_log_event const*)
    
    Implemented part of upstream patch.
    commit: mysql/mysql-server@a3a497ccf7ecacc900551fb1e47ea4078b45c351
    
    Fix:
    ===
    **Part8: added checks to avoid reading out of buffer limits**
    bac33533
log_event.cc 421 KB