[php-src] PR #12537: fix: don't delete an unitialized timer
| From: | dunglas | Date: | Fri, 27 Oct 2023 15:06:07 +0000 |
| Subject: | [php-src] PR #12537: fix: don't delete an unitialized timer | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24008@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12537
Author: dunglas
This change (proposed by @arnaud-lb) prevents calling
timer_delete() on an
uninitialized timer in https://github.com/php/php-src/blob/php-8.1.25/Zend/zend_max_execution_timer.c#L96
in case the timer has not been created (e.g.: when running out of available kernel timers under high
loads).