[php-src] PR #22423: Fix GH-9945: Reject shmop/sysvshm keys outside key_t range
| From: | LamentXU123 | Date: | Wed, 24 Jun 2026 09:43:12 +0000 |
| Subject: | [php-src] PR #22423: Fix GH-9945: Reject shmop/sysvshm keys outside key_t range | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36585@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22423
Author: LamentXU123
Now,
shmop_open() and shm_attach() accepted zend_long keys
and passed them directly to SysV shared memory APIs, where they may be truncated to
key_t.
Generally we should throw ValurErrors on those issues. Fixes #9945