Skip to content

Fix GH-17139: Fix zip_entry_name() crash on invalid entry #17439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

nielsdos
Copy link
Member

Don't increment the refcount, but latter remember the ID to check afterwards whether the resource still exists.

Replaces GH-17142.

@nielsdos nielsdos linked an issue Jan 10, 2025 that may be closed by this pull request
Don't increment the refcount, but latter remember the ID to check
afterwards whether the resource still exists.

Replaces phpGH-17142.
@nielsdos nielsdos requested review from cmb69 and devnexen January 10, 2025 20:16
@nielsdos nielsdos closed this in d08a9e0 Jan 12, 2025
charmitro pushed a commit to wasix-org/php that referenced this pull request Mar 13, 2025
Don't increment the refcount, but latter remember the ID to check
afterwards whether the resource still exists.

Replaces phpGH-17142.
Closes phpGH-17439.
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.

UAF ext/zip/php_zip.c
2 participants