BUG#14303860 - EXECUTING A SELECT QUERY WITH TOO

MANY WILDCARDS CAUSES A SEGFAULT

Back port from 5.6 and trunk
This commit is contained in:
Neeraj Bisht 2013-01-14 14:59:48 +05:30
commit 99645e5be5
10 changed files with 145 additions and 47 deletions

View file

@ -41,6 +41,8 @@
*/
int (*my_string_stack_guard)(int)= NULL;
static char *mstr(char *str,const char *src,size_t l1,size_t l2)
{
l1= l1<l2 ? l1 : l2;