summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2001-03-14 06:13:02 +0000
committerGurusamy Sarathy <gsar@cpan.org>2001-03-14 06:13:02 +0000
commit5fcd1c1b5ea5ccb322c2ff87d283f032058dbafe (patch)
tree3d595a00c6c34d2d34e401d39f620b4961b87454
parenta4f3a277dab3a9e285418160103305f0e5819cf9 (diff)
downloadperl-5fcd1c1b5ea5ccb322c2ff87d283f032058dbafe.tar.gz
Uninitialized Memory Read in regexec.c
p4raw-id: //depot/perl@9148
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index a7b6411777..2420f8d3c9 100644
--- a/regexec.c
+++ b/regexec.c
@@ -2520,7 +2520,7 @@ S_regmatch(pTHX_ regnode *prog)
I32 osize = PL_regsize;
I32 onpar = PL_regnpar;
- pm.op_pmflags = 0;
+ Zero(&pm, 1, PMOP);
re = CALLREGCOMP(aTHX_ t, t + len, &pm);
if (!(SvFLAGS(ret)
& (SVs_TEMP | SVs_PADTMP | SVf_READONLY)))