mirror of
https://github.com/MariaDB/server.git
synced 2026-04-23 16:55:31 +02:00
DESCRIPTION AND FIX: DBUG_EXPLAIN result in buffer overflow when the DEBUG variable values length exceed 255. In _db_explain_ function which call macro str_to_buf incorrectly passes the length of buf avaliable to strnmov as len+1. The fix calculates the avaliable space in buf and passes it to strnxmov. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| dbug.c | ||
| dbug_add_tags.pl | ||
| dbug_analyze.c | ||
| dbug_long.h | ||
| example1.c | ||
| example2.c | ||
| example3.c | ||
| factorial.c | ||
| main.c | ||
| monty.doc | ||
| my_main.c | ||
| remove_function_from_trace.pl | ||
| tests-t.pl | ||
| tests.c | ||
| user.r | ||