Skip to content

[pull] master from php:master#1097

Merged
pull[bot] merged 6 commits into
turkdevops:masterfrom
php:master
Jul 17, 2026
Merged

[pull] master from php:master#1097
pull[bot] merged 6 commits into
turkdevops:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Jul 17, 2026

Copy link
Copy Markdown

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 : )

LamentXU123 and others added 6 commits July 17, 2026 04:09
Fix a few incorrect socket_set_option() validation error messages.
* PHP-8.5:
  ext/sockets: Fix socket_set_option() validation error messages (#22772)
make_http_soap_request() looked for the reason phrase with strstr(tmp, " ")
even when the first strstr() found no space, which happens for a status line
carrying a version but no status code, such as "HTTP/1.1". tmp is NULL there,
so strstr() dereferenced it and the client crashed.

Only parse the reason phrase when a status code field was present.

Closes GH-22761
* PHP-8.4:
  ext/soap: fix NULL deref on malformed HTTP status line
* PHP-8.5:
  ext/soap: fix NULL deref on malformed HTTP status line
The no-data case binds an ETH_P_ALL packet socket to lo and asserts that a
non-blocking recvfrom() finds nothing, which only holds while no other test
puts a frame on loopback. run-tests spawns workers in parallel and the job
runs as root, so any concurrent test that talks to localhost makes the socket
capture a frame and recvfrom() returns data instead of failing.

Observed on LINUX_X32_DEBUG_ZTS: bool(false) where bool(true) was expected.

Closes GH-22773
@pull pull Bot locked and limited conversation to collaborators Jul 17, 2026
@pull pull Bot added the ⤵️ pull label Jul 17, 2026
@pull
pull Bot merged commit 331916c into turkdevops:master Jul 17, 2026
1 of 3 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.

2 participants