Skip to content

ext/phar: phar_archive_delref() double free on shared archive at shut… - #25728

Closed
devnexen wants to merge 1 commit into
php:PHP-8.4from
devnexen:gh25722
Closed

devnexen wants to merge 1 commit into
php:PHP-8.4from
devnexen:gh25722

Conversation

@devnexen

Copy link
Copy Markdown
Member

…down.

Objects outliving RSHUTDOWN dropped an empty archive at refcount 0 through the already destroyed fname map, while another object still held it. The archive is now left to its last holder.

Fix GH-25722

…down.

Objects outliving RSHUTDOWN dropped an empty archive at refcount 0
through the already destroyed fname map, while another object still
held it. The archive is now left to its last holder.

Fix phpGH-25722
@devnexen
devnexen marked this pull request as ready for review November 27, 2026 22:54
@devnexen devnexen closed this in 972d667 Nov 28, 2026
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.

ext/phar: PharData refcount underflow -> double-free (8.3.x through 8.7-dev)

2 participants