projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
assert that you aren't assigning to the NVX of an AV or HV
[p5sagit/p5-mst-13.2.git]
/
taint.c
diff --git
a/taint.c
b/taint.c
index
5ed1eaf
..
6acad15
100644
(file)
--- a/
taint.c
+++ b/
taint.c
@@
-145,7
+145,7
@@
Perl_taint_env(pTHX)
if (svp && *svp && SvTAINTED(*svp)) {
STRLEN len;
const bool was_tainted = PL_tainted;
- const char *t = SvPV(*svp, len);
+ const char *t = SvPV_const(*svp, len);
const char *e = t + len;
PL_tainted = was_tainted;
if (t < e && isALNUM(*t))