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.


** Tags removed: verification-needed verification-needed-focal 
verification-needed-hirsute
** Tags added: verification-done verification-done-focal 
verification-done-hirsute

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1951031

Title:
  Patch php7.4.3-ubuntu with upstream's fix for upstream #80781

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.4/+bug/1951031/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to