public
Created

  • Download Gist
gistfile1.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14
diff -r ae6c19fb32e1 src/regexp_nfa.c
--- a/src/regexp_nfa.c Wed Aug 14 17:45:29 2013 +0200
+++ b/src/regexp_nfa.c Sat Aug 17 22:12:07 2013 +0900
@@ -5091,6 +5091,10 @@
#endif
nfa_match = FALSE;
+ fast_breakcheck();
+ if (got_int)
+ return FALSE;
+
/* Allocate memory for the lists of nodes. */
size = (nstate + 1) * sizeof(nfa_thread_T);
list[0].t = (nfa_thread_T *)lalloc(size, TRUE);

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.