This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3db7978
)
Fix for [perl #36853] -Dx can crash bleadperl
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Tue, 16 Aug 2005 17:57:27 +0000
(17:57 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Tue, 16 Aug 2005 17:57:27 +0000
(17:57 +0000)
The PL_op_sequence global hash wasn't initialized
p4raw-id: //depot/perl@25296
dump.c
patch
|
blob
|
blame
|
history
diff --git
a/dump.c
b/dump.c
index
8205132
..
9dc7db8
100644
(file)
--- a/
dump.c
+++ b/
dump.c
@@
-414,10
+414,8
@@
sequence(pTHX_ register const OP *o)
if (!o)
return;
- op = newSVuv(PTR2UV(o));
- key = SvPV_const(op, len);
- if (hv_exists(Sequence, key, len))
- return;
+ if (!Sequence)
+ Sequence = newHV();
for (; o; o = o->op_next) {
op = newSVuv(PTR2UV(o));