Bug 330352: very non-greedy regexp causes crash in jsregexp.c, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@222270 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2872,6 +2872,9 @@ ExecuteREBytecode(REGlobalData *gData, REMatchState *x)
|
||||
cap = &x->parens[parenIndex];
|
||||
cap->length = x->cp - (gData->cpbegin + cap->index);
|
||||
op = (REOp) *pc++;
|
||||
|
||||
if (!result)
|
||||
result = x;
|
||||
continue;
|
||||
|
||||
case REOP_ASSERT:
|
||||
|
||||
Reference in New Issue
Block a user