diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-19 01:48:47 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-19 01:48:47 +0000 |
commit | d929ce6fe8f415355968ae904607a49f36ad5c70 (patch) | |
tree | 55c5af0a110b532106f3395cc36541ef70d8358f /doio.c | |
parent | 2959b6e3384ea619841b1f9556846dd2755caf04 (diff) | |
download | perl-d929ce6fe8f415355968ae904607a49f36ad5c70.tar.gz |
Taint shmread().
p4raw-id: //depot/cfgperl@5811
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1994,6 +1994,10 @@ Perl_do_shmio(pTHX_ I32 optype, SV **mark, SV **sp) SvCUR_set(mstr, msize); *SvEND(mstr) = '\0'; SvSETMAGIC(mstr); +#ifndef INCOMPLETE_TAINTS + /* who knows who has been playing with this shared memory? */ + SvTAINTED_on(mstr); +#endif } else { I32 n; |