Skip to content

Fix GH-16337: Use-after-free in SplHeap#16346

Closed
ndossche wants to merge 1 commit intophp:PHP-8.2from
ndossche:fix-16337
Closed

Fix GH-16337: Use-after-free in SplHeap#16346
ndossche wants to merge 1 commit intophp:PHP-8.2from
ndossche:fix-16337

Conversation

@ndossche
Copy link
Copy Markdown
Member

We introduce a new flag to indicate when a heap or priority queue is write-locked. In principle we could've used SPL_HEAP_CORRUPTED too, but that won't be descriptive to users (and it's a lie too).

We introduce a new flag to indicate when a heap or priority queue is
write-locked. In principle we could've used SPL_HEAP_CORRUPTED too, but
that won't be descriptive to users (and it's a lie too).
@ndossche ndossche requested a review from Girgias as a code owner October 10, 2024 19:29
@ndossche ndossche linked an issue Oct 10, 2024 that may be closed by this pull request
Copy link
Copy Markdown
Member

@arnaud-lb arnaud-lb left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Copy Markdown
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

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.

Use-after-free in SplHeap

3 participants