analyze: fix segfault when malloc() fails (#21874)
Fixes #21872. log_syntax_callback sets 's', a.k.a. '*userdata', to POINTER_MAX to signal allocation failure. If the error does not cause immediate failure of the program, and log_syntax_callback is called again, it would try to use 's' as a pointer to a set and fail badly.
Loading
Please register or sign in to comment