[mapserver-commits] [MapServer/MapServer] ca4d25: [Backport branch-8-6] bound gif palette index read...
github-actions[bot]
noreply at github.com
Tue Jul 7 01:55:20 PDT 2026
Branch: refs/heads/branch-8-6
Home: https://github.com/MapServer/MapServer
Commit: ca4d255846f4f52ae79fec94bcbc34c7f545925a
https://github.com/MapServer/MapServer/commit/ca4d255846f4f52ae79fec94bcbc34c7f545925a
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date: 2026-07-07 (Tue, 07 Jul 2026)
Changed paths:
A msautotest/misc/data/gif_no_colormap.gif
A msautotest/misc/data/gif_palette_oob.gif
A msautotest/renderers/expected/gif_no_colormap.txt
A msautotest/renderers/expected/gif_palette_oob.txt
A msautotest/renderers/gif_palette_bounds.map
M msautotest/renderers/symbolset
M src/mapimageio.c
Log Message:
-----------
[Backport branch-8-6] bound gif palette index reads to the color table size (#7551)
* bound gif palette index reads to color table size
* msautotest: regression test for out-of-bounds GIF palette reads
* readGIF: free buffers and close handle on error returns
The no-colormap and img-size-exceeds-screen error paths returned without
releasing the pixel buffer or the giflib handle, so the regression GIFs
tripped LeakSanitizer under the ASAN test job. Release both before
returning.
* readGIF: route the final close through closeGIF
---------
Co-authored-by: Naveed <naveed at bugqore.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MapServer/MapServer/settings/notifications
More information about the MapServer-commits
mailing list