projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
530495e
)
PATCH: [perl #115342] Properly initialize S_regclass value (again)
author
rurban@cpanel.net
<rurban@cpanel.net>
Thu, 18 Oct 2012 14:18:52 +0000
(07:18 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Thu, 18 Oct 2012 16:20:06 +0000
(10:20 -0600)
Prevent save_value to carry along uninitialized garbage.
Regression introduced with
9d53c457
Thu Oct 11 21:49:31 2012
Committer changed 0's to OOB_UNICODE.
regcomp.c
patch
|
blob
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
163351b
..
b6e27df
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-11442,7
+11442,7
@@
S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
UV nextvalue;
UV prevvalue = OOB_UNICODE, save_prevvalue = OOB_UNICODE;
IV range = 0;
- UV value, save_value = 0;
+ UV value
= 0
, save_value = 0;
regnode *ret;
STRLEN numlen;
IV namedclass = OOB_NAMEDCLASS;