summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-10-10 20:19:27 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2002-10-10 20:19:27 +0000
commitab01544ff4579f0986e6be613b46a4801bc31f58 (patch)
treee15a3af5138d6105b3f526a88045c6922896c51a /sv.c
parent5f89c282eacf9ef123bf0b311fb4124e837004d7 (diff)
downloadperl-ab01544ff4579f0986e6be613b46a4801bc31f58.tar.gz
Fix bug #17776 : memory corruption in qr/##/x
p4raw-id: //depot/perl@17994
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index 201704551d..f5b98491f5 100644
--- a/sv.c
+++ b/sv.c
@@ -3006,6 +3006,7 @@ Perl_sv_2pv_flags(pTHX_ register SV *sv, STRLEN *lp, I32 flags)
need a newline */
mg->mg_len++; /* save space for it */
need_newline = 1; /* note to add it */
+ break;
}
}
}