Subject: | [patch] wrong salloc free in mysql_st_internal_execute |
When you execute a statement without binding params,
salloc in mysql_st_internal_execute will be NULL
parse_params:
if (!num_params) return NULL
but then at line 3317
Safefree(salloc);
is used unconditionally, trying to free NULL, which leads to a malloc assertion if you are lucky.
patch see pull request
--
Reini Urban