diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-12-20 23:06:20 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-12-20 23:30:04 -0800 |
commit | 7ef9d42cef95562593dd30e0fab41e7e09fd0e0e (patch) | |
tree | aa46785cdeac8436243902477a4b0a7c68709a6d /run.c | |
parent | b89b72572533bd5be1cc901f1d10aadca7e64154 (diff) | |
download | perl-7ef9d42cef95562593dd30e0fab41e7e09fd0e0e.tar.gz |
Fixing crash in hint.t
The test that was added in 95cf23680e tickled another bug in the same
code in Perl_hv_copy_hints_hv than the one it fixed, but not on the
committer’s machine.
Not only can a HE from a tied hash have a null entry, but it can also
have an SV for its key. Treating it as a hek and trying to read flags
from it may result in other code being told to free something it
shouldn’t because the SV, when looked at as a hek, appeared to have
the HVhek_FREEKEY flag.
Diffstat (limited to 'run.c')
0 files changed, 0 insertions, 0 deletions