diff options
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -917,7 +917,9 @@ play_it_again: /*NOTREACHED*/ gotcha: - RX_MATCH_TAINTED_SET(rx, rxtainted); + if (rxtainted) + RX_MATCH_TAINTED_on(rx); + TAINT_IF(RX_MATCH_TAINTED(rx)); if (gimme == G_ARRAY) { I32 iters, i, len; @@ -970,7 +972,9 @@ play_it_again: } yup: /* Confirmed by check_substr */ - RX_MATCH_TAINTED_SET(rx, rxtainted); + if (rxtainted) + RX_MATCH_TAINTED_on(rx); + TAINT_IF(RX_MATCH_TAINTED(rx)); ++BmUSEFUL(rx->check_substr); curpm = pm; if (pm->op_pmflags & PMf_ONCE) |