diff options
author | Nuno Carvalho <nuno.carvalho@oracle.com> | 2012-04-20 22:25:59 +0100 |
---|---|---|
committer | Nuno Carvalho <nuno.carvalho@oracle.com> | 2012-04-20 22:25:59 +0100 |
commit | ca33df20942cc50f8038e9cd0ecc846330ebc8ce (patch) | |
tree | 3e90fc7337b5e4526065135b09f053c737c88ffa /sql/table.h | |
parent | 5203d9bb98bc4696b916317045216de1ee55c663 (diff) | |
download | mariadb-git-ca33df20942cc50f8038e9cd0ecc846330ebc8ce.tar.gz |
BUG#13979418: SHOW BINLOG EVENTS MAY CRASH THE SERVER
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.
Diffstat (limited to 'sql/table.h')
0 files changed, 0 insertions, 0 deletions