This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
msgrcv: properly downgrade the receive buffer
[perl5.git]
/
doio.c
diff --git
a/doio.c
b/doio.c
index
aa6c35b
..
df6e62c
100644
(file)
--- a/
doio.c
+++ b/
doio.c
@@
-3141,6
+3141,7
@@
Perl_do_msgrcv(pTHX_ SV **mark, SV **sp)
}
if (ret >= 0) {
SvCUR_set(mstr, sizeof(long)+ret);
+ SvPOK_only(mstr);
*SvEND(mstr) = '\0';
/* who knows who has been playing with this message? */
SvTAINTED_on(mstr);