This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #128086] Fix precedence in hv_ename_delete
authorHugo van der Sanden <hv@crypt.org>
Sun, 15 May 2016 20:48:58 +0000 (13:48 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 15 May 2016 21:01:29 +0000 (14:01 -0700)
commit60a26c797bbff039ea7f861903732e7cceae415a
treeb586fd0b92cc555af544eb2b1f7fa56f1c99d38a
parent59a14f30f688ba05fd58f9dba1521fb9be116403
[perl #128086] Fix precedence in hv_ename_delete

A stash’s array of names may have null for the first entry, in which
case it is not one of the effective names, and the name count will
be negative.

The ‘count > 0’ is meant to prevent hv_ename_delete from trying to
read that entry, but a precedence problem introduced in 4643eb699
stopped it from doing that.

[This commit message was written by the committer.]
hv.c