mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixed access to undefined memory found by valgrind and MSAN
When my_vsnprintf() is patched, the code protected disabled with 'WAITING_FOR_BUGFIX_TO_VSPRINTF' should be enabled again. Also all %b formats in this patch should be revert to %s again
This commit is contained in:
@@ -728,8 +728,8 @@ bool Item_subselect::exec()
|
||||
QT_WITHOUT_INTRODUCERS));
|
||||
|
||||
push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE,
|
||||
ER_UNKNOWN_ERROR, "DBUG: Item_subselect::exec %.*s",
|
||||
print.length(),print.c_ptr());
|
||||
ER_UNKNOWN_ERROR, "DBUG: Item_subselect::exec %.*b",
|
||||
print.length(),print.ptr());
|
||||
);
|
||||
/*
|
||||
Do not execute subselect in case of a fatal error
|
||||
|
Reference in New Issue
Block a user