[php-src] PR #25820: Fix opcache.jit_buffer_size accepting negative values
| From: | marc-mabe | Date: | Fri, 27 Nov 2026 07:07:14 +0000 |
| Subject: | [php-src] PR #25820: Fix opcache.jit_buffer_size accepting negative values | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-41093@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25820
Author: marc-mabe
opcache.jit_buffer_size was taken as is to size the JIT buffer in shared memory. A negative value
was converted to a huge size_t, which failed the assertion on the buffer size in debug builds and
the shared memory allocation otherwise.
Reject negative values. Like the other JIT settings, an invalid value emits a warning naming the
valid range and keeps the default.