projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a4f3a27
)
Uninitialized Memory Read in regexec.c
Gurusamy Sarathy [Wed, 14 Mar 2001 06:13:02 +0000 (06:13 +0000)]
p4raw-id: //depot/perl@9148
regexec.c
patch
|
blob
|
blame
|
history
diff --git
a/regexec.c
b/regexec.c
index
a7b6411
..
2420f8d
100644
(file)
--- 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)))