mirror of
https://github.com/MariaDB/server.git
synced 2025-10-28 09:26:12 +01:00
Mariadb monitor when a line is cancelled, provided its more than one line, passes that text to the add_history of libedit. This string that has been passed however isn't null terminated resulting in an ASAN error within the libedit code. fix_history where the add_history is called is called by the com_clear, associated with the \c command, and com_go. An using the c_ptr adds a null character onto the end of the string. |
||
|---|---|---|
| .. | ||
| async_example.c | ||
| client_metadata.h | ||
| client_priv.h | ||
| CMakeLists.txt | ||
| completion_hash.cc | ||
| completion_hash.h | ||
| echo.c | ||
| mariadb-conv.cc | ||
| my_readline.h | ||
| mysql.cc | ||
| mysql_plugin.c | ||
| mysql_upgrade.c | ||
| mysqladmin.cc | ||
| mysqlbinlog.cc | ||
| mysqlcheck.c | ||
| mysqldump.c | ||
| mysqlimport.c | ||
| mysqlshow.c | ||
| mysqlslap.c | ||
| mysqltest.cc | ||
| readline.cc | ||