Comment 7 for bug 1951031

Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote (last edit ):

I performed the verification for both focal and hirsute following the test plan described above.

on a hirsute/focal environment:

- Install php7.4
- Fetch and run the test script:

$ wget https://raw.githubusercontent.com/php/php-src/6dd85f83f78fbafc4a90b264e577a31b59323314/Zend/tests/bug80781.phpt
$ php bug80781.phpt

This will trigger the bug and php will enter an infinite loop.

- Enable the proposed pocked and upgrade php7.4 to the proposed fix version

The new installed versions were 7.4.3-4ubuntu2.8 in focal, and 7.4.16-1ubuntu2.3 in hirsute

- Re-run the test script

$ php bug80781.phpt

Now, php exists with an error, as expected:

--TEST--
Bug #80781: Error handler that throws ErrorException infinite loop
--FILE--
PHP Fatal error: Uncaught ErrorException: Illegal offset type in isset or empty in /root/bug80781.phpt:22
Stack trace:
#0 $PATH/bug80781.phpt(22): handle()
#1 {main}
  thrown in $PATH/bug80781.phpt on line 22

The results were the same (as expected) for both focal and hirsute.