summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2010-04-13 11:00:09 +0100
committerDavid Mitchell <davem@iabyn.com>2010-04-13 11:00:09 +0100
commitc6c7b90fcde27746dffdfc8e113330e65d1a3365 (patch)
treef8a75a296b86f8d0b0ed84bb03940c8c9026f414 /pp.c
parenta45830014b54778f0e1ac8ff829b6a48a1622eca (diff)
parent11035fcf28d4d5fe35c7f6719dbd07b704a8f266 (diff)
downloadperl-c6c7b90fcde27746dffdfc8e113330e65d1a3365.tar.gz
Merge commit 'origin/davem/post-5.12' into blead
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pp.c b/pp.c
index df8f048b2e..9565c6c473 100644
--- a/pp.c
+++ b/pp.c
@@ -3439,6 +3439,7 @@ PP(pp_sprintf)
dVAR; dSP; dMARK; dORIGMARK; dTARGET;
if (SvTAINTED(MARK[1]))
TAINT_PROPER("sprintf");
+ SvTAINTED_off(TARG);
do_sprintf(TARG, SP-MARK, MARK+1);
TAINT_IF(SvTAINTED(TARG));
SP = ORIGMARK;