• Nuno Carvalho's avatar
    BUG#13979418: SHOW BINLOG EVENTS MAY CRASH THE SERVER · ca33df20
    Nuno Carvalho authored
    The function mysql_show_binlog_events has a local stack variable
    'LOG_INFO linfo;', which is assigned to thd->current_linfo, however
    this variable goes out of scope and is destroyed before clean
    thd->current_linfo.
    
    The problem is solved by moving 'LOG_INFO linfo;' to function scope.
    ca33df20
log.h 20.3 KB