Skip to content

Add a unlink check for php_stream_bucket_unlink - #14339

Closed
jvoisin wants to merge 1 commit into
php:masterfrom
jvoisin:bucket_protect_unlink
Closed

Add a unlink check for php_stream_bucket_unlink#14339
jvoisin wants to merge 1 commit into
php:masterfrom
jvoisin:bucket_protect_unlink

Conversation

@jvoisin

Copy link
Copy Markdown
Contributor

This is in the same spirit as #13943: low-hanging, not in a hot-path, trivial, removing a limited-linear-write → arbitrary-write primitive, … moreover, given how many filters are available, having some low-hanging hardening there shouldn't hurt.

cc @arnaud-lb

@jvoisin
jvoisin requested a review from bukka as a code ownerMay 27, 2024 14:39
Comment threadmain/streams/filter.c Outdated
@jvoisin
jvoisinforce-pushed the bucket_protect_unlink branch 2 times, most recently from 22a31bd to 15f4deeCompareJune 6, 2024 15:37
@jvoisin

Copy link
Copy Markdown
ContributorAuthor

Seems like the Windows failure is unrelated.

@jvoisinjvoisin mentioned this pull request Jun 7, 2024
6 tasks
@jvoisin
jvoisin requested a review from bukkaJuly 8, 2024 13:25
This is in the same spirit as #13943: low-hanging,
not in a hot-path, trivial, removing a limited-linear-write → arbitrary-write
primitive, … moreover, given how many filters are available, having some
low-hanging hardening there shouldn't hurt.
cc @arnaud-lb
@jvoisin
jvoisinforce-pushed the bucket_protect_unlink branch from 15f4dee to 492ebb5CompareNovember 4, 2024 07:43
@jvoisin

Copy link
Copy Markdown
ContributorAuthor

@bukka friendly ping :)

@jvoisinjvoisin closed this by deleting the head repository May 27, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@jvoisin@bukka