Skip to content

Fix GH-19688: Remove pattern overflow in zip addGlob() - #19689

Closed
ndossche wants to merge 1 commit into
php:PHP-8.3from
ndossche:fix-19688
Closed

ndossche wants to merge 1 commit into
php:PHP-8.3from
ndossche:fix-19688

Conversation

@ndossche

@ndossche ndossche commented Sep 3, 2025

Copy link
Copy Markdown
Member

memcmp() can overread the filename if the filename is shorter than the pattern.

memcmp() can overread the filename if the filename is shorter than the
pattern.
@ndossche ndossche linked an issue Sep 3, 2025 that may be closed by this pull request
@ndossche

ndossche commented Sep 5, 2025

Copy link
Copy Markdown
Member Author

With #19715 fixed, merging this into master will no longer reveal a leak.

@devnexen devnexen 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.

do not know that well the zip extension, but the change lgtm

@ndossche ndossche closed this in 901f71e Sep 10, 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.

Remove pattern overflow in zip addGlob()

2 participants