]> granicus.if.org Git - php/commit
Fix assumption about property guard hash value
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 15 Sep 2020 13:25:22 +0000 (15:25 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 15 Sep 2020 13:26:41 +0000 (15:26 +0200)
commit2bbf2a91aacd59d3511b5e22cac064d708140caa
tree3942a0733df479e82a197a1d73bb82d114b32991
parente97aed4ddb75266b52ab5bcc5966c06eed83495f
Fix assumption about property guard hash value

The "member" string here does not necessarily have a pre-calculated
hash value. In particular this is not the case if the class has no
properties.

Fixes oss-fuzz #25546.
Zend/tests/property_guard_hash_val.phpt [new file with mode: 0644]
Zend/zend_object_handlers.c