History log of /PHP-8.2/Zend/tests/div_by_zero_compound_refcounted.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 62ecf54f 07-Jul-2021 Nikita Popov

Fix use after free on compound division by zero

We can't destroy the result operand early, because the division
might fail, in which case we need to preserve the original value.
Plac

Fix use after free on compound division by zero

We can't destroy the result operand early, because the division
might fail, in which case we need to preserve the original value.
Place the division result in a temporary zval, and only copy it
on success.

Fixes oss-fuzz #35876.

show more ...