]> granicus.if.org Git - php/commit
Don't use scope when validating Attribute
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 1 Dec 2020 10:49:27 +0000 (11:49 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 1 Dec 2020 10:49:27 +0000 (11:49 +0100)
commitf06afc434aec631f18f8da8ffca9a6f0559e1acf
treebe7ef8d9466a244414fdbe1ebcc0f0db9278ceba
parent5dfec886d67f01c4e7ea96ef8c26792cb1210047
Don't use scope when validating Attribute

This is not safe to do at this point. Even if we made it safe,
we'd see inconsistencies due to a partially compiled class.

Fixes oss-fuzz #28129.
Zend/tests/attributes/032_attribute_validation_scope.phpt [new file with mode: 0644]
Zend/zend_attributes.c