[mapserver-commits] [MapServer/MapServer] 79cf5b: bound gif palette index reads to color table size
Naveed
noreply at github.com
Mon Jul 6 07:05:59 PDT 2026
Branch: refs/heads/backport-7541-to-branch-8-6
Home: https://github.com/MapServer/MapServer
Commit: 79cf5b96b15fbff52a7efdcd82d172a46448563b
https://github.com/MapServer/MapServer/commit/79cf5b96b15fbff52a7efdcd82d172a46448563b
Author: Naveed <naveed at bugqore.com>
Date: 2026-07-06 (Mon, 06 Jul 2026)
Changed paths:
M src/mapimageio.c
Log Message:
-----------
bound gif palette index reads to color table size
Commit: 328a526f5ebde7599b997c826461f6228b5b8d18
https://github.com/MapServer/MapServer/commit/328a526f5ebde7599b997c826461f6228b5b8d18
Author: Naveed <naveed at bugqore.com>
Date: 2026-07-06 (Mon, 06 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
Log Message:
-----------
msautotest: regression test for out-of-bounds GIF palette reads
Commit: 16bf4957ea747fd50e74fe45102bfff4f92f3eb7
https://github.com/MapServer/MapServer/commit/16bf4957ea747fd50e74fe45102bfff4f92f3eb7
Author: Naveed <naveed at bugqore.com>
Date: 2026-07-06 (Mon, 06 Jul 2026)
Changed paths:
M src/mapimageio.c
Log Message:
-----------
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.
Commit: b65e3ce60fda9f1d65515d406faccbe2ab4952a0
https://github.com/MapServer/MapServer/commit/b65e3ce60fda9f1d65515d406faccbe2ab4952a0
Author: Naveed <naveed at bugqore.com>
Date: 2026-07-06 (Mon, 06 Jul 2026)
Changed paths:
M src/mapimageio.c
Log Message:
-----------
readGIF: route the final close through closeGIF
Compare: https://github.com/MapServer/MapServer/compare/79cf5b96b15f%5E...b65e3ce60fda
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