diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-19 03:15:58 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-19 03:15:58 +0000 |
commit | 41d6edb2c1acac32a0296d594f0943752d23f077 (patch) | |
tree | 66ec857b54096fa525d2f4fa3f1741b9f8f9462e /doio.c | |
parent | d929ce6fe8f415355968ae904607a49f36ad5c70 (diff) | |
download | perl-41d6edb2c1acac32a0296d594f0943752d23f077.tar.gz |
Taint msgrcv() messages; general SysV IPC cleanup.
p4raw-id: //depot/cfgperl@5812
Diffstat (limited to 'doio.c')
-rw-r--r-- | doio.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1926,6 +1926,10 @@ Perl_do_msgrcv(pTHX_ SV **mark, SV **sp) if (ret >= 0) { SvCUR_set(mstr, sizeof(long)+ret); *SvEND(mstr) = '\0'; +#ifndef INCOMPLETE_TAINTS + /* who knows who has been playing with this message? */ + SvTAINTED_on(mstr); +#endif } return ret; #else |