mirror of
https://github.com/php/php-src.git
synced 2026-04-15 20:11:02 +02:00
At least some of the image reading functions may return images which use color indexes greater than or equal to im->colorsTotal. We cater to this by always using a buffer size which is sufficient for `gdMaxColors` in `gdImageColorMatch()`.