Skip to content

Fix imagetruecolortopalette() error message for $num_colors - #24780

Merged
arnaud-lb merged 1 commit into
php:PHP-8.4from
marc-mabe:fix-gd-imagetruecolortopalette-message
Nov 2, 2026
Merged

arnaud-lb merged 1 commit into
php:PHP-8.4from
marc-mabe:fix-gd-imagetruecolortopalette-message

Conversation

@marc-mabe

Copy link
Copy Markdown
Contributor

The message claimed that $num_colors must be less than INT_MAX, while INT_MAX itself is accepted.

This is split from #23688

The message claimed that $num_colors must be less than INT_MAX, while INT_MAX
itself is accepted.
@marc-mabe
marc-mabe requested a review from devnexen as a code owner October 27, 2026 10:40
@marc-mabe
marc-mabe changed the base branch from master to PHP-8.4 October 27, 2026 10:48
@arnaud-lb
arnaud-lb merged commit 3c97f16 into php:PHP-8.4 Nov 2, 2026
18 checks passed
arnaud-lb added a commit that referenced this pull request Nov 2, 2026
* PHP-8.6:
  Fix imagetruecolortopalette() error message for $num_colors (#24780)
@arnaud-lb

Copy link
Copy Markdown
Member

Thank you!

opensource-fork-sync Bot pushed a commit to cla7aye15I4nd/opensource-php__php-src that referenced this pull request Nov 2, 2026
* PHP-8.4:
  Fix imagetruecolortopalette() error message for $num_colors (php#24780)
opensource-fork-sync Bot pushed a commit to cla7aye15I4nd/opensource-php__php-src that referenced this pull request Nov 2, 2026
* PHP-8.5:
  Fix imagetruecolortopalette() error message for $num_colors (php#24780)
@marc-mabe
marc-mabe deleted the fix-gd-imagetruecolortopalette-message branch November 3, 2026 08:47
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.

2 participants