projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Take the taint brush to the getcwds.
[p5sagit/p5-mst-13.2.git]
/
djgpp
/
djgpp.c
diff --git
a/djgpp/djgpp.c
b/djgpp/djgpp.c
index
f235421
..
73573c3
100644
(file)
--- a/
djgpp/djgpp.c
+++ b/
djgpp/djgpp.c
@@
-367,6
+367,9
@@
XS(dos_GetCwd)
ST(0)=sv_newmortal ();
if (getcwd (tmp,PATH_MAX+1)!=NULL)
sv_setpv ((SV*)ST(0),tmp);
+#ifndef INCOMPLETE_TAINTS
+ SvTAINTED_on(ST(0));
+#endif
}
XSRETURN (1);
}