Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jun 22, 2025

See Commits and Changes for more details.


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

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

ndossche and others added 11 commits June 22, 2025 12:30
We don't have to pack the bools, and the cached index would better be a
zend_long so we don't get implicit narrowing.
Splits the purpose of the baseobj_zv: now no longer either is an array
or an object. Stores the hash table pointer directly, if used.
We prevent signed overflow by making the count unsigned. The actual
interpretation of the count doesn't matter as it's just used to denote a
limit.

The test output for some limit values looks strange though, so that may
need extra investigation. However, that's orthogonal to this fix.

Closes GH-18906.
* PHP-8.3:
  Fix GH-18901: integer overflow mb_split
* PHP-8.4:
  Fix GH-18901: integer overflow mb_split
@pull pull bot added the ⤵️ pull label Jun 22, 2025
@pull pull bot merged commit b727821 into wudi:master Jun 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants