Skip to content

[pull] master from php:master#1020

Merged
pull[bot] merged 5 commits into
turkdevops:masterfrom
php:master
Jun 22, 2026
Merged

[pull] master from php:master#1020
pull[bot] merged 5 commits into
turkdevops:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Jun 22, 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 : )

iliaal and others added 5 commits June 21, 2026 17:16
The bug80901 fix (09696ee) terminates an over-long response with
*data = 0, but when the line fills the whole FTP_BUFSIZE inbuf without a
CR/LF, data points at inbuf[FTP_BUFSIZE] and the terminator is written one
byte past the buffer, into the adjacent ftpbuf_t::extra field. Reserve the
final byte for the terminator so it always lands inside inbuf. A
buffer-filling response loses its last character (bug80901's SYST reply is
now 4095 visible chars, with the terminator taking the 4096th slot).

Closes GH-22377
* PHP-8.4:
  ext/ftp: fix off-by-one terminator write in ftp_readline()
* PHP-8.5:
  ext/ftp: fix off-by-one terminator write in ftp_readline()
* zend_ast: Make `s` a `const zend_string*` in `zend_ast_export_quoted_str()`

Following #22350.

* zend_ast: Reduce variable scope in `zend_ast_export_*str()`
@pull pull Bot locked and limited conversation to collaborators Jun 22, 2026
@pull pull Bot added the ⤵️ pull label Jun 22, 2026
@pull pull Bot merged commit a7a3a5f into turkdevops:master Jun 22, 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