Skip to content

Commit

Permalink
border case fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ge-ne committed Mar 2, 2015
1 parent 9e593c8 commit c6ed92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rewrite.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ static void add_rule(s,rp,rp_end,flags,casep) /* */
DebugPrint2("field = ",field); /* */
(void)SParseSkip(&s); /* */
/* */
if ( stackp > stacksize ) /* */
if ( stackp >= stacksize ) /* */
{ stacksize += 8; /* */
if ( (stack=(Uchar**)realloc((char*)stack, /* */
stacksize*sizeof(char*)))==NULL)/* */
Expand Down

0 comments on commit c6ed92c

Please sign in to comment.