Details
Description
do_merge() (sql/item_jsonfunc.c) has recursive calls but do not have check_stack_overrun
Attachments
Issue Links
- relates to
-
MDEV-33209 Stack overflow in main.json_debug_nonembedded due to incorrect debug injection
-
- Closed
-
The debug instrumentation was optimized away by clang-15 but not GCC 12, so I improved with it a call to a non-inline function.