Comment 0 for bug 1067103

Revision history for this message
Alexey Kopytov (akopytov) wrote :

typelibs for the set/enum system variables are supposed to be zero-terminated arrays. However log_warnings_suppress_name[] describing possible values for log_warnings_suppressed is defined as follows:

const char *log_warnings_suppress_name[]= { "1592" };

Which leads to out-of-bounds read during static initialization on mysqld startup (and potentially undefined behavior for the corresponding variable).