diff options
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -263,6 +263,7 @@ S_regcppush(pTHX_ const regexp *rex, I32 parenfloor, U32 maxopenparen _pDEPTH) ); SSCHECK(total_elems + REGCP_FRAME_ELEMS); + assert((IV)PL_savestack_max > (IV)(total_elems + REGCP_FRAME_ELEMS)); /* memcpy the offs inside the stack - it's faster than for loop */ memcpy(&PL_savestack[PL_savestack_ix], rex->offs + parenfloor + 1, paren_bytes_to_push); |