Skip to content

ext/readline: Refactor CLI readline completion generators - #24213

Merged
LamentXU123 merged 1 commit into
php:masterfrom
LamentXU123:readline-ref
Oct 9, 2026
Merged

LamentXU123 merged 1 commit into
php:masterfrom
LamentXU123:readline-ref

Conversation

@LamentXU123

Copy link
Copy Markdown
Member

No description provided.

@iliaal iliaal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Could you add a one-line commit body noting the strcpy/unchecked malloc removal?

Replace strcpy() with length-aware memcpy() and check malloc() failures.
@LamentXU123
LamentXU123 merged commit ea9454d into php:master Oct 9, 2026
17 checks passed
@LamentXU123

Copy link
Copy Markdown
Member Author

Thanks!

@LamentXU123
LamentXU123 deleted the readline-ref branch October 9, 2026 13:57
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