1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

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 16:51:52 +05:30
10 changed files with 144 additions and 49 deletions

View File

@ -227,7 +227,7 @@ int stop; /* character this ERE should end at */
while (MORE() && (c = PEEK()) != '|' && c != stop)
{
if (my_regex_enough_mem_in_stack &&
my_regex_enough_mem_in_stack())
my_regex_enough_mem_in_stack(0))
{
SETERROR(REG_ESPACE);
return;