Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? ????, PHP 8.2.34

- Embed:
. Fixed bug GH-23423 (php_embed_ub_write() infinite loop when a write
fails and the connection is not aborted). (Lazizbek Ergashev)

30 Jul 2026, PHP 8.2.33

Expand Down
1 change: 1 addition & 0 deletions sapi/embed/php_embed.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ static size_t php_embed_ub_write(const char *str, size_t str_length)
ret = php_embed_single_write(ptr, remaining);
if (!ret) {
php_handle_aborted_connection();
return str_length - remaining;
}
ptr += ret;
remaining -= ret;
Expand Down
Loading