Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Feb 9, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Girgias and others added 20 commits February 9, 2026 10:49
By making the underlying function return a bool and not do duplicate checks
By making the underlying function return a bool and not do duplicate checks
By making the underlying function return a bool and not do duplicate checks
…ion_module_name()

And fix error message to use 'must not' rather than 'cannot'
This is unused and only exist for the deprecated (and dangerous) GET/POST session ID feature
Fixes OSS-Fuzz #481014628
Introduced in GH-20628

Co-authored-by: Arnaud Le Blanc <365207+arnaud-lb@users.noreply.github.com>
The SysV shared memory allocator in OPcache hardcodes a maximum segment size of
32MB (SEG_ALLOC_SIZE_MAX). If the JIT buffer exceeds this, which it does with
the default 64MB size, startup will fail with "Insufficient shared memory!".

The allocator will now try allocating a contiguous buffer first, and only then
use segmentation by searching for continuously smaller powers of 2.

Fixes GH-20718
Closes GH-20719
* PHP-8.4:
  Improve shared_alloc_shm.c strategy to support OPcache JIT on Solaris
* PHP-8.5:
  Improve shared_alloc_shm.c strategy to support OPcache JIT on Solaris
@pull pull bot locked and limited conversation to collaborators Feb 9, 2026
@pull pull bot added the ⤵️ pull label Feb 9, 2026
@pull pull bot merged commit 95fb174 into turkdevops:master Feb 9, 2026
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants