Commit 4807dbc
committed
giflib*: update to 6.1.2
Version 6.1.2
=============
Code Fixes
----------
* Fix for low-severity CVE-2026-23868 affecting gifponge, giftool, and gifbuild,
but not the core library - library clients need not be alarned.
Version 6.1.1
=============
This release bumps the major version, but only one entry point -
EGifSpew() - has changed signature and behavior (in order to be able
to pass out a detailed error code). The internal error
codes in the E_GIF_ERR series have changed value so none of them
collides with GIF_ERROR.
This code has been systematically audited and hardened wuth
ChatGPT-5.2. The only library fixes reported by users or found by
robot were for some memory leaks that could only triggered by severely
malformed GIFs. Other bugs are edge-case failures in the CLI tools.
The gif2rbg CLI tool has been moved to the "obsolete" bin, because its
only deployment case in 2026 is as a piñata at fuzzer parties.
Warning: the CLI tools in the obsolete category will soon be removed
from the distribution entirely. The maintainer is tired of fielding
junk bugs filed against them by would-be coup-counters who found yet
another edge case, and the rest of the world doesn't need noisy CVEs
that aren't actually DoS or security issues for giflib clients.
Code Fixes
----------
* Fix for CVE-2021-40633.
* Fix SF bug #165 EGifSpew leaks GifFileOut->SColorMap
* Fix SF bug #171 ImageMagick required to build giflib on non-Darwin Platforms
* Fix SF bug #172 Incorrect object files in shared libutil on darwin
* Fix SF bug #173 installation of manual pages and html documentation
* Fix SF bug #175 Memory leaks in gifecho.c's main() and in gifalloc.c's GifMakeMapObject
* Fix SF bug #177 wrong pointer used in giftool getbool
* Fix SF bug #179 Path Traversal vulnerability
* Fix SF bug #180: -Wformat-truncation likely pointing out an actual bug
* Fix SF bug #182 out‐of‐bounds writes in Icon2Gif
* Fix SF bug #184 uninitialized buffer in DumpScreen2RGB
* Fix SF bug #185 integer overflow in gifbg.c
* Fix SF bug #186 integer overflow in Icon2Gif
* Fix SF bug #187: CVE-2025-31344
* Fix SF bug #170 Tests failing on Ubuntu Noble, giftext buffer overflow
* Fix SF bug #165 EGifSpew leaks GifFileOut->SColorMap
* Fix SF bug #162 detected memory leaks in GifMakeSavedImage giflib/gifalloc.c
* Fix SF bug #161 detected memory leaks in EGifOpenFileHandle giflib/egif_lib.c
* Fix SF bug #142 ABI break public symbol GifQuantizeBuffer
Other bugs that duplicate these have breen addressesed by these fixes
* SF bug #156 EGifSpew leaks SavedImages (and more); won't fix, caller
might want to write a GIF, modify the in-memory data, then write
again.
Tests
-----
Test suite now emits TAP (Test Anything Protocol).1 parent 9382afc commit 4807dbc
File tree
7 files changed
+57
-86
lines changed- graphics
- giflib-util
- giflib
- patches
7 files changed
+57
-86
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | | - | |
| 11 | + | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 10 | + | |
29 | 11 | | |
30 | | - | |
31 | | - | |
| 12 | + | |
32 | 13 | | |
33 | 14 | | |
34 | 15 | | |
35 | 16 | | |
36 | | - | |
37 | | - | |
| 17 | + | |
38 | 18 | | |
39 | 19 | | |
40 | 20 | | |
41 | 21 | | |
42 | 22 | | |
43 | 23 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
47 | 27 | | |
48 | 28 | | |
49 | 29 | | |
50 | 30 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
56 | 36 | | |
57 | 37 | | |
58 | 38 | | |
| |||
70 | 50 | | |
71 | 51 | | |
72 | 52 | | |
73 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
74 | 57 | | |
75 | 58 | | |
76 | 59 | | |
77 | 60 | | |
78 | 61 | | |
79 | 62 | | |
80 | | - | |
| 63 | + | |
81 | 64 | | |
82 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
83 | 70 | | |
84 | 71 | | |
85 | 72 | | |
86 | 73 | | |
87 | | - | |
| 74 | + | |
88 | 75 | | |
89 | 76 | | |
90 | 77 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 78 | | |
95 | 79 | | |
96 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
97 | 84 | | |
98 | 85 | | |
99 | 86 | | |
100 | 87 | | |
101 | | - | |
| 88 | + | |
102 | 89 | | |
103 | 90 | | |
104 | | - | |
| 91 | + | |
105 | 92 | | |
106 | | - | |
| 93 | + | |
107 | 94 | | |
108 | 95 | | |
109 | 96 | | |
110 | 97 | | |
111 | 98 | | |
112 | | - | |
| 99 | + | |
113 | 100 | | |
114 | | - | |
| 101 | + | |
115 | 102 | | |
116 | 103 | | |
117 | 104 | | |
118 | 105 | | |
119 | | - | |
| 106 | + | |
120 | 107 | | |
121 | 108 | | |
122 | 109 | | |
123 | 110 | | |
124 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
125 | 114 | | |
126 | | - | |
| 115 | + | |
| 116 | + | |
127 | 117 | | |
128 | 118 | | |
| 119 | + | |
| 120 | + | |
129 | 121 | | |
130 | 122 | | |
131 | 123 | | |
| 124 | + | |
132 | 125 | | |
133 | 126 | | |
134 | | - | |
135 | | - | |
| 127 | + | |
| 128 | + | |
0 commit comments