Skip to content

Conversation

devnexen
Copy link
Member

No description provided.

@devnexen devnexen linked an issue Aug 25, 2025 that may be closed by this pull request
@devnexen devnexen marked this pull request as ready for review August 25, 2025 06:35
@devnexen devnexen requested a review from Girgias August 27, 2025 16:58
@devnexen
Copy link
Member Author

devnexen commented Sep 7, 2025

ping :)

Copy link
Member

@nielsdos nielsdos left a comment

Choose a reason for hiding this comment

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

Does the same problem exist for the height argument?

ext/gd/gd.c Outdated
@@ -832,6 +832,11 @@ PHP_FUNCTION(imagefilledellipse)
RETURN_THROWS();
}

if (w < 0 || w > INT_MAX) {
Copy link
Member

Choose a reason for hiding this comment

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

Probably can use ZEND_LONG_INT_OVFL to avoid compiler warnings for INT_MAX if zend_long==int.

@devnexen
Copy link
Member Author

devnexen commented Sep 7, 2025

Does the same problem exist for the height argument?

no

@devnexen devnexen closed this in 93865a4 Sep 7, 2025
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.

libgd runtime error: left shift of negative value
2 participants