summaryrefslogtreecommitdiff
path: root/doop.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-12 03:36:17 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-12 03:36:17 +0000
commit6b7c0e6edcea00cbbde34f695354b0ec1ee0e05b (patch)
tree67536f93988f51ffa1584a3fab57b546a8eca9e5 /doop.c
parent5fdefdaa920c4643bf43d35f5769ae9e378ef4c9 (diff)
downloadperl-6b7c0e6edcea00cbbde34f695354b0ec1ee0e05b.tar.gz
insufficient buffer in change#5317
p4raw-link: @5317 on //depot/perl: 0c57e439868bda58b2cbd4708d7a8b4dcf15b989 p4raw-id: //depot/perl@5670
Diffstat (limited to 'doop.c')
-rw-r--r--doop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/doop.c b/doop.c
index e92a7ca776..06b1b38d5c 100644
--- a/doop.c
+++ b/doop.c
@@ -1098,6 +1098,9 @@ Perl_do_vop(pTHX_ I32 optype, SV *sv, SV *left, SV *right)
STRLEN dulen = 0;
I32 ulen;
+ if (optype != OP_BIT_AND)
+ dc = SvGROW(sv, leftlen+rightlen+1);
+
switch (optype) {
case OP_BIT_AND:
while (lulen && rulen) {