Skip to content

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Oct 14, 2024

Note that I consider not checking and handling these return values a bug (for builds against libavif >= 1.1.0, where the allocation routines do not longer abort on OOM conditions); thus this should target PHP-8.2. To check the FreeBSD builds, which uncovered this issue, I'm targeting PHP-8.4 for now.

@cmb69
Copy link
Member Author

cmb69 commented Oct 14, 2024

This went better than expected, and I don't want to trigger CI again, just for adding a commit message; this could be copied over from libgd/libgd#893.

PS: nor do I want to change the target branch; should be applied to PHP-8.2, in my opinion.

@cmb69 cmb69 marked this pull request as ready for review October 14, 2024 10:49
@cmb69 cmb69 requested a review from devnexen as a code owner October 14, 2024 10:49
Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

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

LGTM

@cmb69 cmb69 linked an issue Oct 14, 2024 that may be closed by this pull request
@cmb69 cmb69 closed this in b817a4f Oct 14, 2024
@cmb69 cmb69 deleted the cmb/libavif-return branch October 14, 2024 11:56
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.

Unchecked libavif return values

2 participants