[php-src] PR #21268: Fix cpuset leak in pcntl_setcpuaffinity on out-of-range CPU ID
| From: | devnexen | Date: | Sat, 21 Feb 2026 03:43:29 +0000 |
| Subject: | [php-src] PR #21268: Fix cpuset leak in pcntl_setcpuaffinity on out-of-range CPU ID | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34969@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21268
Author: devnexen
Add missing PCNTL_CPU_DESTROY(mask) call before RETURN_THROWS() when the cpu id is out of range,
matching the cleanup on other error paths.