Skip to content

Fix GH-19730: undefined behavior in gd_interpolation.c.#22149

Open
devnexen wants to merge 1 commit into
php:PHP-8.4from
devnexen:gh19730-84
Open

Fix GH-19730: undefined behavior in gd_interpolation.c.#22149
devnexen wants to merge 1 commit into
php:PHP-8.4from
devnexen:gh19730-84

Conversation

@devnexen
Copy link
Copy Markdown
Member

Port libgd f6202ec0de1c8340cf9b69c4a86c84fc63703207: validate the computed bounding box in gdTransformAffineBoundingBox before casting the floating-point coordinates to int, and propagate the failure through gdTransformAffineGetImage.

Port libgd f6202ec0de1c8340cf9b69c4a86c84fc63703207: validate the
computed bounding box in gdTransformAffineBoundingBox before casting
the floating-point coordinates to int, and propagate the failure
through gdTransformAffineGetImage.
@devnexen devnexen marked this pull request as ready for review May 25, 2026 19:58
@devnexen devnexen requested a review from Girgias May 25, 2026 19:58
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.

1 participant