This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
properly init si_stack_hwm
authorDavid Mitchell <davem@iabyn.com>
Mon, 3 Jul 2017 13:20:42 +0000 (14:20 +0100)
committerDavid Mitchell <davem@iabyn.com>
Mon, 3 Jul 2017 13:54:13 +0000 (14:54 +0100)
commitd5910a3d38b3bf04d5da54f868438b2d8085a820
tree8cf8cca381a9ef8f2937a4399f6acd117f38e4f4
parent9449f0d6ae2e0e6852c0b9be8be63c3525747345
properly init si_stack_hwm

It was being initialised when a new stack was pushed, but not for the main
stack.
This didn't matter most of the time as runops() would set it anyway,
but

    perl -e 'INIT {}'

was doing a call_sv() before/outside of any runops loop, so showed up in
valgrind as uninitialised usage.
perl.c