[php-src] PR #19281: ext/posix: value ranges check for posix_setrlimit and posix_setpgid
| From: | devnexen | Date: | Mon, 28 Jul 2025 19:14:00 +0000 |
| Subject: | [php-src] PR #19281: ext/posix: value ranges check for posix_setrlimit and posix_setpgid | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32658@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19281
Author: devnexen
setpgid accepts values from 0 to "PID_MAX".
for setrlimit the culprit is using zend_long to represent rlim_t but at least we accept -1 for
RLIM_INFINITY, however rl_cur should not be greater than rl_max value.