Debian Codegraph @

ChangeLog

raw
1 commit 9a05472d7ebcdf6deaa970515f3ddba2b0fc265e
2 Author: Olivier Fourdan <[email protected]>
3 Date: Tue Apr 21 10:13:57 2026 +0200
4
5 libXpm 3.5.19
6
7 Signed-off-by: Olivier Fourdan <[email protected]>
8 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/31>
9
10 commit 5448e1bd7252780b16db869c2253d24e0fe0ae18
11 Author: Olivier Fourdan <[email protected]>
12 Date: Tue Feb 17 11:59:56 2026 +0100
13
14 Fix CVE-2026-4367: Out-of-bounds read in xpmNextWord()
15
16 xpmNextWord() checks for the terminator character to detect the end of
17 the file, but a very small malformed XPM file may cause the function to
18 read past the end of the buffer, causing out-of-bound reads:
19
20 == Invalid read of size 1
21 == at 0x48AD3A4: xpmParseColors (parse.c:239)
22 == by 0x48AF9D8: xpmParseData (parse.c:783)
23 == by 0x48B1C18: XpmCreateXpmImageFromBuffer (CrIFrBuf.c:101)
24 == by 0x4005A6: main ()
25 == Address 0x4c413bf is 0 bytes after a block of size 15 alloc'd
26 == at 0x4841B26: malloc (vg_replace_malloc.c:447)
27 == by 0x48B2809: XpmReadFileToBuffer (RdFToBuf.c:96)
28 == by 0x400554: main ()
29 ==
30 == Invalid read of size 1
31 == at 0x48AC8D5: xpmNextWord.constprop.0 (data.c:262)
32 == by 0x48AD492: xpmParseColors (parse.c:266)
33 == by 0x48AF9D8: xpmParseData (parse.c:783)
34 == by 0x48B1C18: XpmCreateXpmImageFromBuffer (CrIFrBuf.c:101)
35 == by 0x4005A6: main ()
36 == Address 0x4c413c0 is 1 bytes after a block of size 15 alloc'd
37 == at 0x4841B26: malloc (vg_replace_malloc.c:447)
38 == by 0x48B2809: XpmReadFileToBuffer (RdFToBuf.c:96)
39 == by 0x400554: main ()
40 ==
41 == Invalid read of size 1
42 == at 0x48AC965: xpmNextWord.constprop.0 (data.c:265)
43 == by 0x48AD492: xpmParseColors (parse.c:266)
44 == by 0x48AF9D8: xpmParseData (parse.c:783)
45 == by 0x48B1C18: XpmCreateXpmImageFromBuffer (CrIFrBuf.c:101)
46 == by 0x4005A6: main ()
47 == Address 0x4c413c0 is 1 bytes after a block of size 15 alloc'd
48 == at 0x4841B26: malloc (vg_replace_malloc.c:447)
49 == by 0x48B2809: XpmReadFileToBuffer (RdFToBuf.c:96)
50 == by 0x400554: main ()
51
52 The problem actually comes from xpmNextString() and xpmParseColors():
53
54 1) xpmNextString() checks for the NULL terminator when looking for the
55 end of the string (Eos) but not when looking for the beginning of the
56 next string (Bos).
57
58 2) xpmParseColors() does not check the return value from xpmNextString()
59 and continues even when xpmNextString() raised an invalid XPM file.
60
61 To avoid the issue, fix xpmNextString() to check for the NULL string
62 terminator when looking for the beginning of the next string and fix
63 xpmParseColors() to stop when xpmNextString() reported an invalid XPM
64 error.
65
66 CVE-2026-4367
67
68 This vulnerability was discovered by:
69 Naoki Wakamatsu
70
71 v2: Fix the XPM 1 code path the same.
72
73 Signed-off-by: Olivier Fourdan <[email protected]>
74 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/31>
75
76 commit 5b7e903025a8e162a3ee97c64304b1c55211094e
77 Author: Alan Coopersmith <[email protected]>
78 Date: Sun Jan 25 16:05:09 2026 -0800
79
80 libXpm 3.5.18
81
82 Signed-off-by: Alan Coopersmith <[email protected]>
83
84 commit a5549ac11b483ec86e1c79cd1e077998bcc98cdd
85 Author: Alan Coopersmith <[email protected]>
86 Date: Sun Jan 11 11:20:41 2026 -0800
87
88 gitlab CI: drop the ci-fairy check-mr job
89
90 The only thing this checked was the checkbox for allowing maintainers to
91 edit the MR. Changed permissions checks now fail this job but luckily
92 the setting it checked has been the default for years anyway so we can
93 drop it.
94
95 https://gitlab.freedesktop.org/freedesktop/ci-templates/-/issues/81
96
97 Signed-off-by: Alan Coopersmith <[email protected]>
98
99 commit 10070a4e998c1a223dec437847c38dc27dbe85d4
100 Author: Alan Coopersmith <[email protected]>
101 Date: Sat Aug 30 11:26:54 2025 -0700
102
103 Strip trailing whitespace from source files
104
105 Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`
106
107 `git diff -w` & `git diff -b` show no diffs from this change
108
109 Signed-off-by: Alan Coopersmith <[email protected]>
110 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/29>
111
112 commit 5679dd6b7d3b33e921ecb47fa526397619be8ced
113 Author: Zayd Rajab <[email protected]>
114 Date: Tue Aug 19 23:42:14 2025 +0000
115
116 tests: poll for stable compressed output
117
118 libXpm runs the compressor via a double fork. The previous fixed sleep
119 could race on slow or busy runners, yielding 'gzip: stdin: unexpected
120 end of file'.
121
122 Replace the fixed sleep with wait_for_stable_file(): poll the output
123 path every 10 ms until it exists and stops changing (mtime/size stable
124 for 200 ms), with a 10s timeout (configurable).
125
126 Signed-off-by: Zayd Rajab <[email protected]>
127
128 commit 7ce39592bce4d57fa3cd07e4ee1aab3b47cd0436
129 Author: Alan Coopersmith <[email protected]>
130 Date: Tue Apr 22 16:23:12 2025 -0700
131
132 man pages: adjust line breaks in source files
133
134 Clears warnings of the form:
135 mandoc: sxpm.1:72:83: STYLE: input text line longer than 80 bytes:
136 Read from the file \...
137
138 Signed-off-by: Alan Coopersmith <[email protected]>
139 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/26>
140
141 commit 60ee362e7cfda17d617aa0a61b37211a95c5e615
142 Author: Alan Coopersmith <[email protected]>
143 Date: Tue Apr 22 15:43:07 2025 -0700
144
145 man pages: remove .PP after .SH or .SS lines
146
147 Fixes warnings of the form:
148 mandoc: XpmMisc.3:65:2: WARNING: skipping paragraph macro: PP after SH
149 mandoc: XpmRead.3:70:2: WARNING: skipping paragraph macro: PP after SS
150
151 Signed-off-by: Alan Coopersmith <[email protected]>
152 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/26>
153
154 commit 3ba5d81356c010d11253946e6a76ae335a9f69f9
155 Author: Alan Coopersmith <[email protected]>
156 Date: Sat Apr 19 12:29:38 2025 -0700
157
158 man pages: ensure .BR macro has multiple arguments
159
160 Fixes these warnings:
161 an.tmac:man/XpmCreateImage.3:87: style: .BR expects at least 2 arguments, got 1
162 an.tmac:man/XpmCreateXpmImage.3:103: style: .BR expects at least 2 arguments, got 1
163 an.tmac:man/XpmMisc.3:74: style: .BR expects at least 2 arguments, got 1
164 an.tmac:man/XpmWrite.3:153: style: .BR expects at least 2 arguments, got 1
165
166 Signed-off-by: Alan Coopersmith <[email protected]>
167 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/26>
168
169 commit 3aa8a1e47521f2b56be0bf03eae36528ac8d3e64
170 Author: Alan Coopersmith <[email protected]>
171 Date: Sat Apr 19 12:26:40 2025 -0700
172
173 man pages: make indentation arguments to .IP be numeric
174
175 Fixes warnings of the form:
176 troff:man/XpmMisc.3:49: warning: expected numeric expression, got 'l'
177
178 Signed-off-by: Alan Coopersmith <[email protected]>
179 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/26>
180
181 commit 854c23a771c798e0185125c2f734571b9666b5ce
182 Author: Bjarni Ingi Gislason <[email protected]>
183 Date: Sat Apr 12 20:17:09 2025 +0000
184
185 XpmCreateBuffer.3: editorial changes for this man page [Debian bug #1102886]
186
187 Originally from https://bugs.debian.org/1102886
188
189 Signed-off-by: Alan Coopersmith <[email protected]>
190 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/26>
191
192 commit b7309b497b592beb23c841b6ccad324a3d3cc2d4
193 Author: Peter Harris <[email protected]>
194 Date: Mon Nov 11 10:55:50 2024 -0800
195
196 Fix build with current Windows headers
197
198 Signed-off-by: Alan Coopersmith <[email protected]>
199 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/25>
200
201 commit 28039296f726832f77d214df396175b47871a0dd
202 Author: Alan Coopersmith <[email protected]>
203 Date: Mon Nov 11 10:03:10 2024 -0800
204
205 Use _stricmp() instead of strcasecmp() on Windows
206
207 v2: Exclude include of <strings.h> as well
208
209 Fixes: 73b69d7 ("Remove xpmstrcasecmp fallback for strcasecmp")
210 Signed-off-by: Alan Coopersmith <[email protected]>
211 Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/25>
212
213 commit bdb6c75fd667e43ce228f1a32e930a0f2966f29d
214 Author: Alan Coopersmith <[email protected]>
215 Date: Mon Feb 19 14:53:05 2024 -0800
216
217 Remove xpmstrdup fallback for strdup
218
219 It has never been used in the autoconf builds
220
221 Signed-off-by: Alan Coopersmith <[email protected]>
222
223 commit 73b69d794d98e0ccfada48836c4b28280353180f
224 Author: Alan Coopersmith <[email protected]>
225 Date: Mon Feb 19 14:48:46 2024 -0800
226
227 Remove xpmstrcasecmp fallback for strcasecmp
228
229 It was only ever used when FOR_MSW was defined, never in the autoconf builds
230
231 Signed-off-by: Alan Coopersmith <[email protected]>
232
233 commit b30fd0918f8d99aa718ede3da30f9d29f87063e1
234 Author: Alan Coopersmith <[email protected]>
235 Date: Mon Feb 19 14:37:23 2024 -0800
236
237 Remove ancient port to 16-bit Windows without X11 libraries
238
239 Removes all the "FOR_MSW" code added back in 1994, which hasn't been
240 buildable in the automake builds.
241
242 Signed-off-by: Alan Coopersmith <[email protected]>
243
244 commit 0224b43072c5ce42ec4f3280e6f6022a2e5380c6
245 Author: Alan Coopersmith <[email protected]>
246 Date: Mon Feb 19 13:45:35 2024 -0800
247
248 Remove ancient Amiga support
249
250 There was no way to build this in the automake files
251
252 Signed-off-by: Alan Coopersmith <[email protected]>
253
254 commit b72af4edce48e40fedd441f72df0d2338fd448c5
255 Author: Alan Coopersmith <[email protected]>
256 Date: Mon Feb 19 13:51:05 2024 -0800
257
258 unifdef VAX11C
259
260 Signed-off-by: Alan Coopersmith <[email protected]>
261
262 commit 02702c20e70da35ea8a842bc79c8eaec66db0e6c
263 Author: Alan Coopersmith <[email protected]>
264 Date: Mon Feb 19 13:28:36 2024 -0800
265
266 unifdef sequent
267
268 Signed-off-by: Alan Coopersmith <[email protected]>
269
270 commit b4e217761e6a2bb7111290d77baf7f44d256351a
271 Author: Alan Coopersmith <[email protected]>
272 Date: Sat Feb 17 14:56:45 2024 -0800
273
274 Remove outdated ifdef checks for including stdint.h
275
276 Assumes all platforms have provided C99 required headers in the 25 years
277 since the C99 standard was finalized.
278
279 Signed-off-by: Alan Coopersmith <[email protected]>
280
281 commit a154f12b6e56f131bd5880fc96f11615ff940b29
282 Author: Alan Coopersmith <[email protected]>
283 Date: Tue Oct 3 08:43:57 2023 -0700
284
285 libXpm 3.5.17
286
287 Signed-off-by: Alan Coopersmith <[email protected]>
288
289 commit 91f887b41bf75648df725a4ed3be036da02e911e
290 Author: Yair Mizrahi <[email protected]>
291 Date: Thu Sep 7 16:59:07 2023 -0700
292
293 Avoid CVE-2023-43787 (integer overflow in XCreateImage)
294
295 This doesn't fix the CVE - that has to happen in libX11, this
296 just tries to avoid triggering it from libXpm, and saves time
297 in not pretending we can successfully create an X Image for
298 which the width * depth would overflow the signed int used to
299 store the bytes_per_line value.
300
301 Signed-off-by: Alan Coopersmith <[email protected]>
302
303 commit 00348988396c88150f6ddfea3d3195cbf01d60c2
304 Author: Alan Coopersmith <[email protected]>
305 Date: Thu Sep 7 16:55:25 2023 -0700
306
307 test: Add test case for CVE-2023-43787 (integer overflow in XCreateImage)
308
309 Provided by Yair Mizrahi of the JFrog Vulnerability Research team
310
311 Signed-off-by: Alan Coopersmith <[email protected]>
312
313 commit 84fb14574c039f19ad7face87eb9acc31a50701c
314 Author: Alan Coopersmith <[email protected]>
315 Date: Wed Sep 6 17:34:33 2023 -0700
316
317 Avoid CVE-2023-43786: stack exhaustion in XPutImage()
318
319 This doesn't fix the CVE - that has to happen in libX11, this
320 just tries to avoid triggering it from libXpm, and saves time
321 in not pretending we can successfully create an X11 pixmap with
322 dimensions larger than the unsigned 16-bit integers used in the
323 X11 protocol for the dimensions.
324
325 Reported by Yair Mizrahi of the JFrog Vulnerability Research team
326
327 Signed-off-by: Alan Coopersmith <[email protected]>
328
329 commit edb97396620f019f8d2e707ad3fbaf6bbbd5ed36
330 Author: Alan Coopersmith <[email protected]>
331 Date: Tue Sep 5 17:01:58 2023 -0700
332
333 test: Add test case for CVE-2023-43786 (stack exhaustion in PutImage)
334
335 Provided by Yair Mizrahi of the JFrog Vulnerability Research team
336
337 Signed-off-by: Alan Coopersmith <[email protected]>
338
339 commit 7e21cb63b9a1ca760a06cc4cd9b19bbc3fcd8f51
340 Author: Alan Coopersmith <[email protected]>
341 Date: Sat Apr 29 18:30:34 2023 -0700
342
343 Fix CVE-2023-43789: Out of bounds read on XPM with corrupted colormap
344
345 Found with clang's libfuzzer
346
347 Signed-off-by: Alan Coopersmith <[email protected]>
348
349 commit a21e7bcf0ca3d8c1605b2721a545440260870438
350 Author: Alan Coopersmith <[email protected]>
351 Date: Sat Apr 29 18:29:29 2023 -0700
352
353 test: Add test case for CVE-2023-43789 (corrupt colormap info)
354
355 Generated by clang's -fsanitize/libfuzzer
356
357 Signed-off-by: Alan Coopersmith <[email protected]>
358
359 commit 2fa554b01ef6079a9b35df9332bdc4f139ed67e0
360 Author: Alan Coopersmith <[email protected]>
361 Date: Sat Apr 29 17:50:39 2023 -0700
362
363 Fix CVE-2023-43788: Out of bounds read in XpmCreateXpmImageFromBuffer
364
365 When the test case for CVE-2022-46285 was run with the Address Sanitizer
366 enabled, it found an out-of-bounds read in ParseComment() when reading
367 from a memory buffer instead of a file, as it continued to look for the
368 closing comment marker past the end of the buffer.
369
370 Signed-off-by: Alan Coopersmith <[email protected]>
371
372 commit 7f60f3428aa21d5d643eb75bfd9417cfabf48970
373 Author: Alan Coopersmith <[email protected]>
374 Date: Tue Sep 5 17:35:55 2023 -0700
375
376 Explicitly mark non-static symbols as export or hidden
377
378 Hides private API from external linkage
379
380 Signed-off-by: Alan Coopersmith <[email protected]>
381
382 commit 2695ccda5df58af60ebb15bb17f1570437554adb
383 Author: Alan Coopersmith <[email protected]>
384 Date: Sat May 20 13:47:52 2023 -0700
385
386 test: use g_pattern_spec_match_string if available
387
388 g_pattern_spec_match_string was introduced in glib 2.70 to replace
389 g_pattern_match_string which is deprecated in glib 2.70 and later.
390
391 Signed-off-by: Alan Coopersmith <[email protected]>
392
393 commit 4524c578581b427145ae136844fc655a89e94777
394 Author: Alan Coopersmith <[email protected]>
395 Date: Mon Mar 27 18:35:46 2023 -0700
396
397 Set close-on-exec when opening files
398
399 Relies on platforms with O_CLOEXEC support following POSIX requirement
400 to not copy the close-on-exec flag to the new fd in dup2(), but to leave
401 it unset instead, since that's how fd's are passed to child processes
402 to handled compressed files.
403
404 Signed-off-by: Alan Coopersmith <[email protected]>
405
406 commit f131de92d6c4e2f62934e85b012287276ecf009c
407 Author: Matt Turner <[email protected]>
408 Date: Mon Apr 17 15:22:35 2023 -0400
409
410 libXpm 3.5.16
411
412 Signed-off-by: Matt Turner <[email protected]>
413
414 commit 8b9c4e4c5d278409dc41d19f0c8a8940403cd5c7
415 Author: Alan Coopersmith <[email protected]>
416 Date: Mon Mar 27 18:21:12 2023 -0700
417
418 xpmReadRgbNames: constify filename argument
419
420 Signed-off-by: Alan Coopersmith <[email protected]>
421
422 commit fd620b4f6c59674090b956a9d9e188a1250a4663
423 Author: Alan Coopersmith <[email protected]>
424 Date: Mon Mar 27 18:15:41 2023 -0700
425
426 test: Add simple test cases for functions in src/rgb.c
427
428 Signed-off-by: Alan Coopersmith <[email protected]>
429
430 commit e01d691aa684d0d1247f772b7c537ec3254bb9bc
431 Author: Alan Coopersmith <[email protected]>
432 Date: Mon Mar 27 18:03:13 2023 -0700
433
434 test: Use PACKAGE_BUGREPORT instead of hard-coded URL's
435
436 Signed-off-by: Alan Coopersmith <[email protected]>
437
438 commit 92030dd4c221e8043521ae4dc9d32d50e6ff44c4
439 Author: Alan Coopersmith <[email protected]>
440 Date: Sun Feb 12 13:22:57 2023 -0800
441
442 parse.c: remove unused function xstrlcpy()
443
444 parse.c:74:1: warning: unused function 'xstrlcpy' [-Wunused-function]
445 xstrlcpy(char *dst, const char *src, size_t dstsize)
446 ^
447
448 Signed-off-by: Alan Coopersmith <[email protected]>
449
450 commit 8e0e63519069bed43b3bf1ce1f11fd0cd516d3e4
451 Author: Alan Coopersmith <[email protected]>
452 Date: Sun Feb 12 10:51:46 2023 -0800
453
454 parse.c: Wrap FREE_CIDX definition in do { ... } while(0)
455
456 Makes it match the definition in create.c and eliminates
457 clang warnings:
458
459 create.c:2409:13: warning: empty expression statement has no effect;
460 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
461 FREE_CIDX;
462 ^
463 create.c:2440:17: warning: empty expression statement has no effect;
464 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
465 FREE_CIDX;
466 ^
467 create.c:2444:13: warning: empty expression statement has no effect;
468 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
469 FREE_CIDX;
470 ^
471 create.c:2449:15: warning: empty expression statement has no effect;
472 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
473 FREE_CIDX;
474 ^
475
476 Signed-off-by: Alan Coopersmith <[email protected]>
477
478 commit 25616112983cd3f8bfe5379771b5bfd63b3c3621
479 Author: Alan Coopersmith <[email protected]>
480 Date: Sun Feb 12 09:23:09 2023 -0800
481
482 XpmCreateDataFromXpmImage: Fix misleading indentation
483
484 CrDatFrI.c: In function ‘XpmCreateDataFromXpmImage’:
485 CrDatFrI.c:245:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
486 245 | if (header[l])
487 | ^~
488 In file included from CrDatFrI.c:40:
489 XpmI.h:80:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
490 80 | #define XpmFree(ptr) free(ptr)
491 | ^~~~
492 CrDatFrI.c:247:17: note: in expansion of macro ‘XpmFree’
493 247 | XpmFree(header);
494 | ^~~~~~~
495 CrDatFrI.c: In function ‘CreateColors’:
496
497 Signed-off-by: Alan Coopersmith <[email protected]>
498
499 commit 45d8f4f20665c77dd1924b78559fb2494a77ad7a
500 Author: Alan Coopersmith <[email protected]>
501 Date: Sun Feb 12 09:20:44 2023 -0800
502
503 Require LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
504
505 AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
506 so it's time to rely on it.
507
508 configure.ac:14: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
509 configure.ac:14: You should run autoupdate.
510 m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
511 configure.ac:14: the top level
512
513 Signed-off-by: Alan Coopersmith <[email protected]>
514
515 commit c52082c6e4811958dd741d67e1178b4e36a09923
516 Author: Alan Coopersmith <[email protected]>
517 Date: Sun Feb 5 12:14:43 2023 -0800
518
519 open-zfile: Make compress & uncompress commands optional
520
521 If compress is not found, we disable writing to .Z files,
522 but leave the rest of the compression code active.
523
524 If uncompress is not found, we use gzip to read .Z files.
525
526 Signed-off-by: Alan Coopersmith <[email protected]>
527
528 commit 77e3b389eb92b8d8f94f5b83c1d3d7cd4db5b037
529 Author: Peter Hutterer <[email protected]>
530 Date: Mon Jan 23 19:57:28 2023 +1000
531
532 Fix a memleak in ParsePixels error code path
533
534 In this particular error path we have already allocated cidx[0..256]
535 with 256 instances of fresh and juicy memory. Freeing that is annoying,
536 but luckily there's a helpful FREE_CIDX macro that does exactly that.
537
538 Fixes f80fa6a:
539 Fix CVE-2022-44617: Runaway loop with width of 0 and enormous height
540
541 Found by covscan
542
543 Signed-off-by: Peter Hutterer <[email protected]>
544
545 commit 71d7149cb356b96cc83e2ec95d06df4022039e2c
546 Author: Alan Coopersmith <[email protected]>
547 Date: Thu Jan 19 12:16:26 2023 -0800
548
549 configure: correct error message to suggest --disable-open-zfile
550
551 When one of the compression helper programs is not found, the message
552 suggesting how to compile without it should say --disable-open-zfile,
553 not --disable-stat-zfile.
554
555 Fixes: 515294b ("Fix CVE-2022-4883: compression commands depend on $PATH")
556 Closes: #4
557
558 Signed-off-by: Alan Coopersmith <[email protected]>
559
560 commit 9bc32a1a9c788eed2982d3fd35f2295a95af3817
561 Author: Alan Coopersmith <[email protected]>
562 Date: Thu Jan 19 12:06:38 2023 -0800
563
564 gitlab CI: build with each of --enable-open-zfile & --disable-open-zfile
565
566 Signed-off-by: Alan Coopersmith <[email protected]>
567
568 commit d9cbea1c6bc2b7f2c11964da0d437130bed82279
569 Author: Alan Coopersmith <[email protected]>
570 Date: Tue Jan 17 18:41:32 2023 -0800
571
572 test: skip compressed file tests when --disable-open-zfile is used
573
574 Reported-by: T.J. Townsend
575 Signed-off-by: Alan Coopersmith <[email protected]>
576
577 commit ddd8339e262cbb7b25993599299ad40e0c95ccf6
578 Author: Alan Coopersmith <[email protected]>
579 Date: Tue Jan 17 08:19:26 2023 -0800
580
581 libXpm 3.5.15
582
583 Signed-off-by: Alan Coopersmith <[email protected]>
584
585 commit 8178eb0834d82242e1edbc7d4fb0d1b397569c68
586 Author: Peter Hutterer <[email protected]>
587 Date: Mon Jan 16 19:44:52 2023 +1000
588
589 Use gzip -d instead of gunzip
590
591 GNU gunzip [1] is a shell script that exec's `gzip -d`. Even if we call
592 /usr/bin/gunzip with the correct built-in path, the actual gzip call
593 will use whichever gzip it finds first, making our patch pointless.
594
595 Fix this by explicitly calling gzip -d instead.
596
597 https://git.savannah.gnu.org/cgit/gzip.git/tree/gunzip.in
598
599 [Part of the fix for CVE-2022-4883]
600 Signed-off-by: Peter Hutterer <[email protected]>
601
602 commit c5ab17bcc34914c0b0707d2135dbebe9a367c5f0
603 Author: Matthieu Herrb <[email protected]>
604 Date: Thu Jan 12 15:05:39 2023 +1000
605
606 Prevent a double free in the error code path
607
608 xpmParseDataAndCreate() calls XDestroyImage() in the error path.
609 Reproducible with sxpm "zero-width.xpm", that file is in the test/
610 directory.
611
612 The same approach is needed in the bytes_per_line == 0 condition though
613 here it just plugs a memory leak.
614
615 Signed-off-by: Alan Coopersmith <[email protected]>
616
617 commit 515294bb8023a45ff916696d0a14308ff4f3a376
618 Author: Alan Coopersmith <[email protected]>
619 Date: Fri Jan 6 12:50:48 2023 -0800
620
621 Fix CVE-2022-4883: compression commands depend on $PATH
622
623 By default, on all platforms except MinGW, libXpm will detect if a
624 filename ends in .Z or .gz, and will when reading such a file fork off
625 an uncompress or gunzip command to read from via a pipe, and when
626 writing such a file will fork off a compress or gzip command to write
627 to via a pipe.
628
629 In libXpm 3.5.14 or older these are run via execlp(), relying on $PATH
630 to find the commands. If libXpm is called from a program running with
631 raised privileges, such as via setuid, then a malicious user could set
632 $PATH to include programs of their choosing to be run with those
633 privileges.
634
635 Signed-off-by: Alan Coopersmith <[email protected]>
636
637 commit f80fa6ae47ad4a5beacb287c0030c9913b046643
638 Author: Alan Coopersmith <[email protected]>
639 Date: Sat Jan 7 12:44:28 2023 -0800
640
641 Fix CVE-2022-44617: Runaway loop with width of 0 and enormous height
642
643 When reading XPM images from a file with libXpm 3.5.14 or older, if a
644 image has a width of 0 and a very large height, the ParsePixels() function
645 will loop over the entire height calling getc() and ungetc() repeatedly,
646 or in some circumstances, may loop seemingly forever, which may cause a
647 denial of service to the calling program when given a small crafted XPM
648 file to parse.
649
650 Closes: #2
651
652 Reported-by: Martin Ettl <[email protected]>
653 Signed-off-by: Alan Coopersmith <[email protected]>
654
655 commit f7fbbb92f6d383b21dd1587c3703a5de37c625b5
656 Author: Alan Coopersmith <[email protected]>
657 Date: Tue Jan 3 17:23:58 2023 -0800
658
659 test: add test cases for CVE-2022-44617 (zero-width w/enormous height)
660
661 Signed-off-by: Alan Coopersmith <[email protected]>
662
663 commit a3a7c6dcc3b629d765014816c566c63165c63ca8
664 Author: Alan Coopersmith <[email protected]>
665 Date: Sat Dec 17 12:23:45 2022 -0800
666
667 Fix CVE-2022-46285: Infinite loop on unclosed comments
668
669 When reading XPM images from a file with libXpm 3.5.14 or older, if a
670 comment in the file is not closed (i.e. a C-style comment starts with
671 "/*" and is missing the closing "*/"), the ParseComment() function will
672 loop forever calling getc() to try to read the rest of the comment,
673 failing to notice that it has returned EOF, which may cause a denial of
674 service to the calling program.
675
676 Reported-by: Marco Ivaldi <[email protected]>
677 Signed-off-by: Alan Coopersmith <[email protected]>
678
679 commit f7a167a48a950b89b91f5123a0ec8d9a7cb97495
680 Author: Alan Coopersmith <[email protected]>
681 Date: Sat Dec 17 12:18:24 2022 -0800
682
683 test: add test case for CVE-2022-46285 (unclosed comments)
684
685 Signed-off-by: Alan Coopersmith <[email protected]>
686
687 commit 0ff2c6af823ce7712c06150c43c9b403846a035f
688 Author: Alan Coopersmith <[email protected]>
689 Date: Sat Jan 7 15:43:20 2023 -0800
690
691 cxpm: getc/ungetc wrappers should not adjust position when c == EOF
692
693 Signed-off-by: Alan Coopersmith <[email protected]>
694
695 commit 501494c6c68a84114fdd0b44d4b67ef9cde776c9
696 Author: Alan Coopersmith <[email protected]>
697 Date: Sat Jan 7 13:39:56 2023 -0800
698
699 test: Add unit tests using glib framework
700
701 Includes rudimentary tests for XpmReadFileToXpmImage, XpmReadFileToData,
702 XpmReadFileToBuffer, XpmCreateXpmImageFromData, XpmCreateXpmImageFromBuffer,
703 XpmWriteFileFromXpmImage, XpmWriteFileFromData, XpmWriteFileFromBuffer,
704 XpmAttributesSize, XpmGetErrorString, XpmLibraryVersion
705
706 Includes test cases for CVE-2004-0687
707
708 Tests .Z and .gz files if --enable-open-zfile is active
709
710 Signed-off-by: Alan Coopersmith <[email protected]>
711
712 commit 4841039e5385f264d12757903894f47c64f59361
713 Author: Alan Coopersmith <[email protected]>
714 Date: Thu Jan 5 15:42:36 2023 -0800
715
716 configure: add --disable-open-zfile instead of requiring -DNO_ZPIPE
717
718 Documents the two compression options in the README, makes their
719 configure options reflect the interdependency of their implementation,
720 and makes the configure script report their configuration.
721
722 Signed-off-by: Alan Coopersmith <[email protected]>
723
724 commit aef0c8dd129838ac35b3cf8a7cdf04c7fd67dff1
725 Author: Alan Coopersmith <[email protected]>
726 Date: Sun Jan 1 14:19:17 2023 -0800
727
728 man pages: Apply standard man page style/formatting
729
730 Function & macro names in bold, argument names in italics.
731
732 In the man page body, bold function names followed by plain ()
733 for functions defined in this page, plain (3) for functions defined
734 in other man pages.
735
736 New paragraphs start with .PP, not just a blank line.
737
738 Signed-off-by: Alan Coopersmith <[email protected]>
739
740 commit 5d55a0be3f8a8d3e53c65c286878fc3224fce135
741 Author: Alan Coopersmith <[email protected]>
742 Date: Sun Jan 1 10:48:01 2023 -0800
743
744 man pages: Replace "See Also" entries with more useful ones
745
746 "See Also" entries in man pages should list other man pages to
747 look at, not the alternate names for the current man page.
748
749 Signed-off-by: Alan Coopersmith <[email protected]>
750
751 commit 392cb8fb444ae632176829076f412cb4029dbdbc
752 Author: Alan Coopersmith <[email protected]>
753 Date: Sun Jan 1 10:21:38 2023 -0800
754
755 man pages: Fix typos and other minor editing
756
757 Signed-off-by: Alan Coopersmith <[email protected]>
758
759 commit 08bc174f28af028b6ebaa9edeccd3ff56c396e92
760 Author: Alan Coopersmith <[email protected]>
761 Date: Sat Nov 19 12:23:53 2022 -0800
762
763 libXpm 3.5.14
764
765 Signed-off-by: Alan Coopersmith <[email protected]>
766
767 commit f0857c0de206e90777a5321cce9602083b283080
768 Author: Alan Coopersmith <[email protected]>
769 Date: Sat Aug 27 10:06:23 2022 -0700
770
771 man pages: Correct Copyright/License notices
772
773 Since the text was copied from doc/xpm.PS.gz, the copyright and license
774 notices need to be copied from there as well.
775
776 Signed-off-by: Alan Coopersmith <[email protected]>
777
778 commit deb81a9a210527b0a00f002b1796e5e21e492879
779 Author: Alan Coopersmith <[email protected]>
780 Date: Fri Aug 26 18:39:17 2022 -0700
781
782 man pages: Fix typos
783
784 Signed-off-by: Alan Coopersmith <[email protected]>
785
786 commit 2d5fa4c2079494f502f9a576d749fa1e205f2144
787 Author: Alan Coopersmith <[email protected]>
788 Date: Fri Aug 26 18:29:05 2022 -0700
789
790 man pages: Add missing word 'function' where needed
791
792 A number of instances of 'The Xpm... function' were missing the word
793 "function", so read awkwardly.
794
795 Signed-off-by: Alan Coopersmith <[email protected]>
796
797 commit 2b7357e83e38e2a860687ee4150ef60bd6c0a47f
798 Author: Alan Coopersmith <[email protected]>
799 Date: Fri Aug 26 18:16:42 2022 -0700
800
801 man pages: Make function synopses more consistent with other pages
802
803 Signed-off-by: Alan Coopersmith <[email protected]>
804
805 commit fb8590c9c57d661ec4a29da243e05b9d87b999d3
806 Author: Alan Coopersmith <[email protected]>
807 Date: Fri Aug 26 18:06:51 2022 -0700
808
809 man pages: Fix shadow man pages
810
811 Shadow man pages have a .so line that needs to list the file to be
812 shown, not the name of the shadow page.
813
814 Signed-off-by: Alan Coopersmith <[email protected]>
815
816 commit bfaebfdcc92433a8b78c004de4bb3c5a8a545e75
817 Author: Alan Coopersmith <[email protected]>
818 Date: Fri Aug 26 17:49:25 2022 -0700
819
820 man pages: Make file names consistent with their displayed names
821
822 Lets users view the pages using the name displayed on the pages
823
824 Signed-off-by: Alan Coopersmith <[email protected]>
825
826 commit 7a138a5278890e122731eb94b8e5a7d6ef543243
827 Author: Alan Coopersmith <[email protected]>
828 Date: Sun Jul 17 16:29:35 2022 -0700
829
830 gitlab CI: add a basic build test
831
832 Signed-off-by: Alan Coopersmith <[email protected]>
833
834 commit 3433f4334db7c30864c112639a929c5ae8bd3c3b
835 Author: Alan Coopersmith <[email protected]>
836 Date: Sun Jul 17 16:27:01 2022 -0700
837
838 man: strip trailing whitespace
839
840 git diff -w shows no changes from this commit
841
842 Signed-off-by: Alan Coopersmith <[email protected]>
843
844 commit 961245427855ab6d30a5fa2dbb98aaffa571d728
845 Author: Alan Coopersmith <[email protected]>
846 Date: Sun Jul 17 16:25:38 2022 -0700
847
848 Fix spelling/wording issues
849
850 Found by using:
851 codespell --builtin clear,rare,usage,informal,code,names
852
853 Signed-off-by: Alan Coopersmith <[email protected]>
854
855 commit fa16fbda9c90f932a74cd80c90eee88432d987d7
856 Author: Alan Coopersmith <[email protected]>
857 Date: Sun Jul 17 16:23:04 2022 -0700
858
859 Build xz tarballs instead of bzip2
860
861 Signed-off-by: Alan Coopersmith <[email protected]>
862
863 commit 83e5427f9cd5d32602bcf647547e0030ea361f00
864 Author: Walter Harms <[email protected]>
865 Date: Wed Dec 25 20:40:04 2019 +0100
866
867 update man pages
868
869 move from k&r to ansi prototypes
870 improve nroff coding
871
872 Signed-off-by: Walter Harms <[email protected]>
873
874 commit e48e649eb04f95ffbdbd0c8bb77d7131142f5e9a
875 Author: Walter Harms <[email protected]>
876 Date: Tue Dec 24 17:20:09 2019 +0100
877
878 add man pages based on doc/xpm.PS
879
880 More or less hand crafted man pages based on xpm.PS.
881 Prototypes are still in K&R, see also is a dud
882
883 Signed-off-by: Walter Harms <[email protected]>
884
885 commit b0fc485495a694816d76a43978e2cfd5575c554d
886 Author: Peter Hutterer <[email protected]>
887 Date: Fri Dec 13 14:25:06 2019 +1000
888
889 libXpm 3.5.13
890
891 Signed-off-by: Peter Hutterer <[email protected]>
892
893 commit 5817fd4ac5308fe7c23301c652f174997009b7d5
894 Author: Benjamin Tissoires <[email protected]>
895 Date: Wed Dec 4 11:17:21 2019 +0100
896
897 parse: simplify error paths in xpmParseColors()
898
899 We introduced a new label to handle the errors, we should use it
900 for the rest of the function.
901
902 Signed-off-by: Benjamin Tissoires <[email protected]>
903
904 commit e1d8f704d52f70680869b7aae1da0ad2382db363
905 Author: Peter Hutterer <[email protected]>
906 Date: Thu Dec 5 06:17:00 2019 +1000
907
908 parse: avoid memleak on error with STRLCAT/STRLCPY
909
910 The original macro might exit the function without freeing `colorTable`.
911
912 Move the macros into a slightly less awful helper function and use goto
913 to clean up in case of error.
914
915 Signed-off-by: Peter Hutterer <[email protected]>
916
917 commit 7af7c5e275b69daedee3696bee1e880586f30373
918 Author: Fabrice Fontaine <[email protected]>
919 Date: Fri May 3 07:59:09 2019 +0200
920
921 Allow usage when fork() is not available
922
923 When fork() is not available, we need to define NO_ZPIPE so that
924 libXpm doesn't try to fork/exec to use a pipe to uncompress compressed
925 .xpm files. There is obviously a loss of functionality, but loading
926 uncompressed .xpm files should continue to work.
927
928 Signed-off-by: Thomas Petazzoni <[email protected]>
929 [Retrieved from:
930 https://git.buildroot.net/buildroot/tree/package/x11r7/xlib_libXpm/0001-fork-check.patch]
931 Signed-off-by: Fabrice Fontaine <[email protected]>
932
933 commit 0be2c6712728cea1fa1bcc640e564c45c2c82e37
934 Author: Alan Coopersmith <[email protected]>
935 Date: Fri Dec 7 19:47:06 2018 -0800
936
937 Update configure.ac bug URL for gitlab migration
938
939 Signed-off-by: Alan Coopersmith <[email protected]>
940
941 commit c9f8faf1c05fb92abc6c5b1db5e45eb1a7942875
942 Author: Alan Coopersmith <[email protected]>
943 Date: Mon Nov 19 22:30:30 2018 -0800
944
945 Update README for gitlab migration
946
947 Signed-off-by: Alan Coopersmith <[email protected]>
948
949 commit 73a1e769dcf2a603fc63f5c36626c1c6db815f46
950 Author: Alan Coopersmith <[email protected]>
951 Date: Sun Sep 30 15:09:29 2018 -0700
952
953 After fdopen(), use fclose() instead of close() in error path
954
955 Found by Oracle's Parfait 2.2 static analyzer:
956
957 Error: File Leak
958 File Leak [file-ptr-leak]:
959 Leaked File fp
960 at line 94 of lib/libXpm/src/RdFToBuf.c in function 'XpmReadFileToBuffer
961 '.
962 fp initialized at line 86 with fdopen
963 fp leaks when len < 0 at line 92.
964
965 Introduced-by: commit 8b3024e6871ce50b34bf2dff924774bd654703bc
966
967 Signed-off-by: Alan Coopersmith <[email protected]>
968 Reviewed-by: Peter Hutterer <[email protected]>
969
970 commit bc1b4962f048cfa33b76be46493e10cfb256fe98
971 Author: Dave Bodenstab <[email protected]>
972 Date: Wed Feb 22 12:04:54 2012 +0000
973
974 Windows build fixes
975
976 https://bugs.freedesktop.org/show_bug.cgi?id=46475
977 https://bugs.freedesktop.org/attachment.cgi?id=57479
978
979 Signed-off-by: Alan Coopersmith <[email protected]>
980
981 commit e42ca7b484418b169fd19a4c68e23ad2a6ec7a11
982 Author: Mihail Konev <[email protected]>
983 Date: Thu Jan 26 13:52:49 2017 +1000
984
985 autogen: add default patch prefix
986
987 Signed-off-by: Mihail Konev <[email protected]>
988
989 commit ed8f9c2e8b635eb63497c48b24a056f9e6f50609
990 Author: Emil Velikov <[email protected]>
991 Date: Mon Mar 9 12:00:52 2015 +0000
992
993 autogen.sh: use quoted string variables
994
995 Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
996 fall-outs, when they contain space.
997
998 Signed-off-by: Emil Velikov <[email protected]>
999 Reviewed-by: Peter Hutterer <[email protected]>
1000 Signed-off-by: Peter Hutterer <[email protected]>
1001
1002 commit 644d7c595ba29fb368666fb497e1e14a92a65a77
1003 Author: Peter Hutterer <[email protected]>
1004 Date: Tue Jan 24 10:32:07 2017 +1000
1005
1006 autogen.sh: use exec instead of waiting for configure to finish
1007
1008 Syncs the invocation of configure with the one from the server.
1009
1010 Signed-off-by: Peter Hutterer <[email protected]>
1011 Reviewed-by: Emil Velikov <[email protected]>
1012
1013 commit 1fab5e81fd761f628fb68d22934615536dbd0220
1014 Author: Matthieu Herrb <[email protected]>
1015 Date: Mon Dec 12 23:09:52 2016 +0100
1016
1017 libXpm 3.5.12
1018
1019 Signed-off-by: Matthieu Herrb <[email protected]>
1020
1021 commit 8b3024e6871ce50b34bf2dff924774bd654703bc
1022 Author: Tobias Stoeckmann <[email protected]>
1023 Date: Sun Dec 11 13:50:05 2016 +0100
1024
1025 Handle size_t in file/buffer length
1026
1027 The values of file sizes and buffer sizes can exceed current limits.
1028 Therefore, use proper variable types for these operations.
1029
1030 Signed-off-by: Matthieu Herrb <[email protected]>
1031 Reviewed-by: Matthieu Herrb <[email protected]>
1032
1033 commit d1167418f0fd02a27f617ec5afd6db053afbe185
1034 Author: Tobias Stoeckmann <[email protected]>
1035 Date: Thu Dec 8 17:07:55 2016 +0100
1036
1037 Avoid OOB write when handling malicious XPM files.
1038
1039 libXpm uses unsigned int to store sizes, which fits size_t on 32 bit
1040 systems, but leads to issues on 64 bit systems.
1041
1042 On 64 bit systems, it is possible to overflow 32 bit integers while
1043 parsing XPM extensions in a file.
1044
1045 At first, it looks like a rather unimportant detail, because nobody
1046 will seriously open a 4 GB file. But unfortunately XPM has support for
1047 gzip compression out of the box. An attacker can therefore craft a
1048 compressed file which is merely 4 MB in size, which makes an attack
1049 much for feasable.
1050
1051 Signed-off-by: Matthieu Herrb <[email protected]>
1052 Reviewed-by: Matthieu Herrb <[email protected]>
1053
1054 commit 1ec33006a9e4214b390045b820464e24297dc6c0
1055 Author: Tobias Stoeckmann <[email protected]>
1056 Date: Tue Dec 6 22:34:33 2016 +0100
1057
1058 Gracefully handle EOF while parsing files.
1059
1060 libXpm does not properly handle EOF conditions when xpmGetC is called
1061 multiple times in a row to construct a string. Instead of checking
1062 its return value for EOF, the result is automatically casted into a
1063 char and attached to a string.
1064
1065 By carefully crafting the color table in an XPM file, it is possible to
1066 send a libXpm program like gimp into a very long lasting loop and
1067 massive memory allocations.
1068
1069 Otherwise no memory issues arise, therefore this is just a purely
1070 functional patch to dismiss invalid input.
1071
1072 Signed-off-by: Matthieu Herrb <[email protected]>
1073 Reviewed-by: Matthieu Herrb <[email protected]>
1074
1075 commit c46dedeba15edf7216d62633ed6daf40cd1f5bfd
1076 Author: Tobias Stoeckmann <[email protected]>
1077 Date: Tue Dec 6 22:31:53 2016 +0100
1078
1079 Fix out out boundary read on unknown colors
1080
1081 libXpm is vulnerable to an out of boundary read if an XPM file contains
1082 a color with a symbolic name but without any default color value.
1083
1084 A caller must set XpmColorSymbols and a color with a NULL name in
1085 the supplied XpmAttributes to XpmReadFileToImage (or other functions of
1086 this type) in order to trigger this issue.
1087
1088 Signed-off-by: Matthieu Herrb <[email protected]>
1089 Reviewed-by: Matthieu Herrb <[email protected]>
1090
1091 commit 42ca8d956276bc00bec09e410d76daf053ae35f9
1092 Author: Jörg Sonnenberger <[email protected]>
1093 Date: Wed Mar 19 09:26:37 2014 +0100
1094
1095 Fix abs() usage.
1096
1097 For long arguments, use labs().
1098
1099 Reviewed-by: Matt Turner <[email protected]>
1100 Signed-off-by: Thomas Klausner <[email protected]>
1101
1102 commit 3425cbb0e6086f74783eafbe23df1121b655e006
1103 Author: Alan Coopersmith <[email protected]>
1104 Date: Sat Sep 7 21:40:17 2013 -0700
1105
1106 libXpm 3.5.11
1107
1108 Signed-off-by: Alan Coopersmith <[email protected]>
1109
1110 commit 4bab3b62a47996ee77b8ddebcd92f0ebe9679c28
1111 Author: Alan Coopersmith <[email protected]>
1112 Date: Sat Sep 7 21:36:51 2013 -0700
1113
1114 Fix typo in COPYING (matches src/amigax.h)
1115
1116 Signed-off-by: Alan Coopersmith <[email protected]>
1117
1118 commit 9e38750da16c6e5bd8bb26b00d74041ddf9be3e8
1119 Author: Alan Coopersmith <[email protected]>
1120 Date: Fri Aug 2 22:22:09 2013 -0700
1121
1122 Add noreturn attributes suggested by gcc
1123
1124 Remove extra bogus return added to avoid warnings when calling Punt()
1125 since gcc didn't know it would never return.
1126
1127 Signed-off-by: Alan Coopersmith <[email protected]>
1128
1129 commit 93f900ceac7ac899e00998adc8782ed02b352930
1130 Author: Eric S. Raymond <[email protected]>
1131 Date: Wed Jun 19 06:19:18 2013 -0400
1132
1133 doclifter can't handle more than one dash in a name line.
1134
1135 commit 22734e4439b3609a6b621d8e7ef8465f0a2ac0d5
1136 Author: Claudio Bley <[email protected]>
1137 Date: Mon May 27 09:32:05 2013 +0200
1138
1139 Fix libXpm build with NO_ZPIPE
1140
1141 When NO_ZPIPE is defined, fcntl.h is not included in WrFFrI.c
1142 although OpenWriteFile uses open, O_WRONLY, O_CREAT and O_TRUNC.
1143
1144 * src/WrFFrI.c: unconditionally include fcntl.h regardless
1145 of NO_ZPIPE being defined or not.
1146
1147 Reviewed-by: Alan Coopersmith <[email protected]>
1148 Signed-off-by: Alan Coopersmith <[email protected]>
1149
1150 commit e439f6e7163e3259f11f3363fa319e8a29085a92
1151 Author: Christophe CURIS <[email protected]>
1152 Date: Wed May 1 10:39:38 2013 +0200
1153
1154 Added 'const' attribute to all filename arguments in the API
1155
1156 The filename is always a read-only argument, so it is a good idea
1157 to let the caller now about it.
1158
1159 This patch does not change active code; the place where the attribute
1160 is added will not break source-level compatibility because it adds
1161 no restriction on caller side, just adds information; because the
1162 lib code behaved the same way it will not break the binary interface
1163 either.
1164
1165 Reviewed-by: Alan Coopersmith <[email protected]>
1166 Signed-off-by: Alan Coopersmith <[email protected]>
1167
1168 commit 01ee6b9c500cd9c67f167e68c8383e8c58db5ddf
1169 Author: Christophe CURIS <[email protected]>
1170 Date: Wed May 1 10:39:37 2013 +0200
1171
1172 Added 'const' qualifier to the filename argument to internal functions
1173
1174 Reviewed-by: Alan Coopersmith <[email protected]>
1175 Signed-off-by: Alan Coopersmith <[email protected]>
1176
1177 commit 980e9f851e47d31eed9635a6399a23d1456548d0
1178 Author: Alan Coopersmith <[email protected]>
1179 Date: Mon Apr 22 13:23:09 2013 -0700
1180
1181 Close fd if fdopen() or xpmPipeThrough() fails in OpenWriteFile()
1182
1183 Fixes leak found by parfait 1.1 bug checking tool:
1184 File Descriptor Leak: Leaked File Descriptor fd
1185 at line 350 of lib/libXpm/src/WrFFrI.c in function 'OpenWriteFile'.
1186 fd initialized at line 332 with open
1187 fd leaks when strcmp(".Z", (filename + (len - 2))) != 0 at line 337
1188 and strcmp(".gz", (filename + (len - 3))) != 0 at line 340.
1189
1190 Signed-off-by: Alan Coopersmith <[email protected]>
1191 Reviewed-by: Mark Kettenis <[email protected]>
1192
1193 commit 81608285e11f2455800001a965dfece878861162
1194 Author: Colin Walters <[email protected]>
1195 Date: Wed Jan 4 17:37:06 2012 -0500
1196
1197 autogen.sh: Implement GNOME Build API
1198
1199 http://people.gnome.org/~walters/docs/build-api.txt
1200
1201 Signed-off-by: Adam Jackson <[email protected]>
1202
1203 commit 4c3e0ff63a7c71daaafdcdaa1d619063e0cf4a63
1204 Author: Adam Jackson <[email protected]>
1205 Date: Tue Jan 15 14:28:48 2013 -0500
1206
1207 configure: Remove AM_MAINTAINER_MODE
1208
1209 Signed-off-by: Adam Jackson <[email protected]>
1210
1211 commit 4ca8014afbb66f0b65cdcd8ea12e469f52c8c70c
1212 Author: Jon TURNEY <[email protected]>
1213 Date: Mon Jan 2 22:45:53 2012 +0000
1214
1215 Define NO_ZPIPE when building for MinGW
1216
1217 Define NO_ZPIPE when building for MinGW, decompressing via a pipe isn't implemented.
1218 (since xpmPipeThrough() is only written in terms of fork() currently...)
1219
1220 Signed-off-by: Jon TURNEY <[email protected]>
1221 Reviewed-by: Colin Harrison <[email protected]>
1222 Reviewed-by: Yaakov Selkowitz <[email protected]>
1223 Reviewed-by: Ángel González <[email protected]>
1224
1225 commit acaaea96776b36c097d5413040c5ce85d3ae6cb9
1226 Author: Alan Coopersmith <[email protected]>
1227 Date: Wed Mar 7 20:39:55 2012 -0800
1228
1229 libXpm 3.5.10
1230
1231 Signed-off-by: Alan Coopersmith <[email protected]>
1232
1233 commit 1450186652cb9d2efe55c8da7cb64996eddd34c7
1234 Author: Alan Coopersmith <[email protected]>
1235 Date: Fri Nov 18 23:25:16 2011 -0800
1236
1237 closeness_cmp: maintain constness when casting pointers
1238
1239 create.c: In function 'closeness_cmp':
1240 create.c:224:5: warning: cast discards qualifiers from pointer target type
1241 create.c:224:5: warning: cast discards qualifiers from pointer target type
1242
1243 Signed-off-by: Alan Coopersmith <[email protected]>
1244
1245 commit 7aa7b34491de534da56d637552ee86f94f038cc3
1246 Author: Alan Coopersmith <[email protected]>
1247 Date: Fri Nov 18 23:22:12 2011 -0800
1248
1249 sxpm: make ErrorMessage take const char * arg to fix -Wwrite-strings warnings
1250
1251 Signed-off-by: Alan Coopersmith <[email protected]>
1252
1253 commit 4cedf181bcfe13e5d206554c51edb82cb17e7ad5
1254 Author: Jeremy Huddleston <[email protected]>
1255 Date: Fri Nov 11 10:17:11 2011 -0800
1256
1257 Include missing headers
1258
1259 This fixes implicit declarations for strdup and strcasecmp.
1260
1261 Signed-off-by: Jeremy Huddleston <[email protected]>
1262
1263 commit 933b5d1f1fe9273d1a984707687b36ec61c4c5af
1264 Author: Alan Coopersmith <[email protected]>
1265 Date: Thu Nov 10 21:32:15 2011 -0800
1266
1267 Fix gcc -Wwrite-strings warnings that don't require public API changes
1268
1269 Signed-off-by: Alan Coopersmith <[email protected]>
1270
1271 commit 696be14bcb4daef5280b425e297223c6ae530cb5
1272 Author: Alan Coopersmith <[email protected]>
1273 Date: Thu Nov 10 21:03:44 2011 -0800
1274
1275 Assume C89 and just use const, not local Const macro
1276
1277 Signed-off-by: Alan Coopersmith <[email protected]>
1278
1279 commit 29972ebbb2409bcba87637069a7ad9a958b3325d
1280 Author: Julien Cristau <[email protected]>
1281 Date: Sat Sep 24 19:18:56 2011 +0200
1282
1283 Link sxpm against -lX11
1284
1285 It calls various Xlib functions so should link with -lX11 directly.
1286
1287 Signed-off-by: Julien Cristau <[email protected]>
1288
1289 commit 3ea70059805b3ebc795f797b5880b90b6b3a9235
1290 Author: Alan Coopersmith <[email protected]>
1291 Date: Fri Sep 16 22:48:53 2011 -0700
1292
1293 Strip trailing whitespace
1294
1295 Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
1296 git diff -w & git diff -b show no diffs from this change
1297
1298 Signed-off-by: Alan Coopersmith <[email protected]>
1299
1300 commit 0c9e200c3975917f5d78eac67b1f4cedefd73079
1301 Author: Gaetan Nadon <[email protected]>
1302 Date: Sat Mar 5 20:39:03 2011 -0500
1303
1304 man: add missing title header (.TH) __xorgversion__
1305
1306 Signed-off-by: Gaetan Nadon <[email protected]>
1307
1308 commit 0f8f24302bb0e35eaab16f16358bf9c44f9f3af1
1309 Author: Gaetan Nadon <[email protected]>
1310 Date: Sat Mar 5 15:35:17 2011 -0500
1311
1312 config: move man pages into their own directory
1313
1314 As per X.Org guidelines.
1315 Fix whitespace issues.
1316
1317 Signed-off-by: Gaetan Nadon <[email protected]>
1318
1319 commit 9c622c5fc82f2a19ae41e75398fee4ff1de52a1d
1320 Author: Gaetan Nadon <[email protected]>
1321 Date: Wed Feb 2 11:43:44 2011 -0500
1322
1323 config: minor layout change in configure.ac
1324
1325 Group statements per section as per Autoconf standard layout
1326 Quote statements where appropriate.
1327 No functional configuration changes
1328
1329 This helps automated maintenance and release activities.
1330 Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
1331
1332 Signed-off-by: Gaetan Nadon <[email protected]>
1333
1334 commit 22a434d061af224536baee6c6110b603c5c96b2c
1335 Author: Alan Coopersmith <[email protected]>
1336 Date: Fri Oct 29 17:29:25 2010 -0700
1337
1338 libXpm 3.5.9
1339
1340 Signed-off-by: Alan Coopersmith <[email protected]>
1341
1342 commit c11f1bd18303139f070e1873382632ee80cd9878
1343 Author: Gaetan Nadon <[email protected]>
1344 Date: Wed Oct 20 08:30:56 2010 -0400
1345
1346 config: remove obsolete FILES file from the Imakefile days
1347
1348 It lists the files contained in the original
1349 BULL Research Koala Project.
1350
1351 Signed-off-by: Gaetan Nadon <[email protected]>
1352
1353 commit 0ea6c432a068fc4edf90c614e68a4f4be94edd14
1354 Author: Gaetan Nadon <[email protected]>
1355 Date: Sun Oct 17 12:51:15 2010 -0400
1356
1357 doc: move doc files to the newly created doc dir.
1358
1359 As per guidelines for all xorg modules.
1360
1361 Signed-off-by: Gaetan Nadon <[email protected]>
1362
1363 commit 7a3e69cfb079c7345f3d9b1217f373a706ba544c
1364 Author: Gaetan Nadon <[email protected]>
1365 Date: Fri Oct 15 17:14:39 2010 -0400
1366
1367 config: provide a Makefile for the include directory
1368
1369 Reduce some complexity in the src makefile as it should not
1370 handle sibling directories.
1371
1372 Signed-off-by: Gaetan Nadon <[email protected]>
1373
1374 commit e50f645f4cc5bb1db0e025fc6e39c6e84a894c13
1375 Author: Gaetan Nadon <[email protected]>
1376 Date: Fri Oct 15 14:56:32 2010 -0400
1377
1378 libXpm make: remove redundant -I.
1379
1380 It is always included by Automake
1381
1382 Signed-off-by: Gaetan Nadon <[email protected]>
1383
1384 commit 8dee37ff3bb908d597d53f2b335fc2111643cce7
1385 Author: Gaetan Nadon <[email protected]>
1386 Date: Sun Oct 24 19:39:54 2010 -0400
1387
1388 sxpm make: no need to use a per target LDADD
1389
1390 There is only one program in this makefile.
1391
1392 Signed-off-by: Gaetan Nadon <[email protected]>
1393
1394 commit 34abbaaacddf1018d1805bc4890226ab200a50fb
1395 Author: Gaetan Nadon <[email protected]>
1396 Date: Fri Oct 15 11:45:58 2010 -0400
1397
1398 sxpm make: remove redundant $(XMP_LIBS) linker flags
1399
1400 SXPM_LIBS contains the complete list of dependencies.
1401
1402 Signed-off-by: Gaetan Nadon <[email protected]>
1403
1404 commit b818f5cf7f7d8240db2a94ebcc28603730760e48
1405 Author: Gaetan Nadon <[email protected]>
1406 Date: Fri Oct 15 10:21:08 2010 -0400
1407
1408 src make: remove -I$(top_builddir)/include
1409
1410 This directory does not exist, only object code is created
1411 in "builddir".
1412
1413 Signed-off-by: Gaetan Nadon <[email protected]>
1414
1415 commit 78bca7e85b930593fefe85cc51b5e24f98de31d0
1416 Author: Gaetan Nadon <[email protected]>
1417 Date: Thu Oct 14 21:56:21 2010 -0400
1418
1419 config: fix warnings, m4 quoting and layout
1420
1421 Fix some m4 quoting
1422 Fix some autoconf warnings
1423 Regroup statements per section
1424 Add comments
1425
1426 Signed-off-by: Gaetan Nadon <[email protected]>
1427
1428 commit 8e47c819490331c01959332e067f06a382d9a14a
1429 Author: Gaetan Nadon <[email protected]>
1430 Date: Thu Oct 14 20:35:47 2010 -0400
1431
1432 config: AC_OUTPUT with parms is deprecated, use AC_CONFIG_FILES
1433
1434 Signed-off-by: Gaetan Nadon <[email protected]>
1435
1436 commit c6915d034fa3f72a9724816d2e3f5e8432ef9321
1437 Author: Gaetan Nadon <[email protected]>
1438 Date: Thu Oct 14 20:33:40 2010 -0400
1439
1440 config: AC_HELP_STRING is deprecated, use AS_HELP_STRING
1441
1442 Signed-off-by: Gaetan Nadon <[email protected]>
1443
1444 commit e2fdf80a7f9feedacf67e46a8e577b2e6d415a5f
1445 Author: Gaetan Nadon <[email protected]>
1446 Date: Thu Oct 14 20:29:42 2010 -0400
1447
1448 config: remove unrequired AC_SUBST(XPM_CFLAGS)
1449
1450 This macro is called by PKG_CHECK_MODULES
1451
1452 Signed-off-by: Gaetan Nadon <[email protected]>
1453
1454 commit 937d8c8cf82bd57e82152af3768bdbfc5de4316a
1455 Author: Gaetan Nadon <[email protected]>
1456 Date: Thu Oct 14 20:28:43 2010 -0400
1457
1458 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
1459
1460 XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
1461 AC_PROG_C_C99. This sets gcc with -std=gnu99.
1462 If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
1463
1464 Signed-off-by: Gaetan Nadon <[email protected]>
1465
1466 commit 0ed9cb4546d0c65f08a9511736400c0f7fba982f
1467 Author: Gaetan Nadon <[email protected]>
1468 Date: Thu Oct 14 20:28:08 2010 -0400
1469
1470 config: remove unrequired AC_HEADER_STDC
1471
1472 Autoconf says:
1473 "This macro is obsolescent, as current systems have conforming
1474 header files. New programs need not use this macro".
1475
1476 Signed-off-by: Gaetan Nadon <[email protected]>
1477
1478 commit e99bce47294eab031fc733d695e3c9589b52aff8
1479 Author: Gaetan Nadon <[email protected]>
1480 Date: Thu Oct 14 20:25:00 2010 -0400
1481
1482 config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
1483
1484 Regroup AC statements at the top.
1485
1486 Signed-off-by: Gaetan Nadon <[email protected]>
1487
1488 commit 0b5e15c685d295262bf2307d65bee3a0b28e74f5
1489 Author: Gaetan Nadon <[email protected]>
1490 Date: Thu Oct 14 20:15:08 2010 -0400
1491
1492 sxpm: use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
1493 The value of MAN_SUBST is the same for all X.Org packages.
1494
1495 Use the appropriate platform version of sed
1496
1497 Signed-off-by: Gaetan Nadon <[email protected]>
1498
1499 commit 262bb7e9426150f6c7b553d184c51d3884d04adf
1500 Author: Gaetan Nadon <[email protected]>
1501 Date: Thu Oct 14 20:11:43 2010 -0400
1502
1503 cxpm: use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
1504 The value of MAN_SUBST is the same for all X.Org packages.
1505
1506 Signed-off-by: Gaetan Nadon <[email protected]>
1507
1508 commit acd4856aac05a884376736196154842959803aa6
1509 Author: Gaetan Nadon <[email protected]>
1510 Date: Thu Oct 14 20:03:13 2010 -0400
1511
1512 config: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONS
1513
1514 It depends on util-macros 1.8
1515 The LT_AC_PROG_SED macro was never released by libtool.
1516 Neither man makefile actually used $SED anyway.
1517
1518 Signed-off-by: Gaetan Nadon <[email protected]>
1519
1520 commit d1bd1fbc6d7f7b4817aca4fecd8ccfe80a1c2f03
1521 Author: Gaetan Nadon <[email protected]>
1522 Date: Thu Oct 14 20:02:30 2010 -0400
1523
1524 config: upgrade to util-macros 1.8 for additional man page support
1525
1526 Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
1527 The value of MAN_SUBST is the same for all X.Org packages.
1528
1529 Signed-off-by: Gaetan Nadon <[email protected]>
1530
1531 commit 3b20344bf3c5ae7a8291041d4887dc8f23644d40
1532 Author: Colin Harrison <[email protected]>
1533 Date: Thu Oct 7 13:49:17 2010 +0200
1534
1535 Missing end comment in libXpm/src/parse.c
1536
1537 CVS tag removal chopped too much out in this case...
1538
1539 Signed-off-by: Julien Cristau <[email protected]>
1540
1541 commit f8f0a68247b920052df0796a39ebcdc2e4161d05
1542 Author: Jesse Adkins <[email protected]>
1543 Date: Tue Sep 28 13:30:03 2010 -0700
1544
1545 Purge cvs tags.
1546
1547 Signed-off-by: Jesse Adkins <[email protected]>
1548 Signed-off-by: Alan Coopersmith <[email protected]>
1549
1550 commit d026662cce0808cf402e0d50932d90984a2ea1bb
1551 Author: Gaetan Nadon <[email protected]>
1552 Date: Thu Apr 1 21:11:35 2010 -0400
1553
1554 config: update AC_PREREQ statement to 2.60
1555
1556 Unrelated to the previous patches, the new value simply reflects
1557 the reality that the minimum level for autoconf to configure
1558 all x.org modules is 2.60 dated June 2006.
1559
1560 ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
1561
1562 Signed-off-by: Gaetan Nadon <[email protected]>
1563
1564 commit d4a7b15b3ed9e7cf94dbf64f929ae954bada9f60
1565 Author: Gaetan Nadon <[email protected]>
1566 Date: Thu Apr 1 21:07:54 2010 -0400
1567
1568 config: update and relocate AX_DEFINE_DIR macro
1569
1570 Remove deprecated acinclude.m4 macro container file
1571 Use separate macro files as per autoconf recommendation
1572 Use the latest version of the macro from GNU
1573
1574 Signed-off-by: Gaetan Nadon <[email protected]>
1575
1576 commit e0920779d1227338e61aaab16458b9daad508c36
1577 Author: Gaetan Nadon <[email protected]>
1578 Date: Mon Mar 29 14:53:49 2010 -0400
1579
1580 config: remove the pkgconfig pc.in file from EXTRA_DIST
1581
1582 Automake always includes it in the tarball.
1583
1584 Signed-off-by: Gaetan Nadon <[email protected]>
1585
1586 commit 34ebac912c6f1223a274ab2e4f0c12928d357ddd
1587 Author: Gaetan Nadon <[email protected]>
1588 Date: Thu Jan 14 09:36:38 2010 -0500
1589
1590 COPYING: add missing copyright notices
1591
1592 Refer to: amigax.c, cxpm.c
1593 Copyright (C) 1998 Arnaud LE HORS
1594 Copyright (C) 19896 Lorens Younes
1595
1596 Signed-off-by: Gaetan Nadon <[email protected]>
1597
1598 commit dca7a9ccbdd4c85d84668c3a4bc14b0049f0c893
1599 Author: Gaetan Nadon <[email protected]>
1600 Date: Fri Nov 27 20:56:04 2009 -0500
1601
1602 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
1603
1604 Now that the INSTALL file is generated.
1605 Allows running make maintainer-clean.
1606
1607 commit af0d92b686c65f7ffb5556b74fd937b01719c535
1608 Author: Gaetan Nadon <[email protected]>
1609 Date: Wed Oct 28 14:09:10 2009 -0400
1610
1611 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
1612
1613 Add missing INSTALL file. Use standard GNU file on building tarball
1614 README may have been updated
1615 Remove AUTHORS file as it is empty and no content available yet.
1616 Remove NEWS file as it is empty and no content available yet.
1617
1618 commit 8bda9cdb6344c6cdf87237cb84c16c54a3ae84d8
1619 Author: Gaetan Nadon <[email protected]>
1620 Date: Tue Oct 27 15:07:25 2009 -0400
1621
1622 Deploy the new XORG_DEFAULT_OPTIONS #24242
1623
1624 This macro aggregate a number of existing macros that sets commmon
1625 X.Org components configuration options. It shields the configuration file from
1626 future changes.
1627
1628 commit 089237b624722b141a9ba6888584ebcc5247b227
1629 Author: Gaetan Nadon <[email protected]>
1630 Date: Mon Oct 26 22:08:43 2009 -0400
1631
1632 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432
1633
1634 ChangeLog filename is known to Automake and requires no further
1635 coding in the makefile.
1636
1637 commit 37e75b28f4d30a66e16cfe192a0612a335aa8d46
1638 Author: Gaetan Nadon <[email protected]>
1639 Date: Thu Oct 22 12:34:19 2009 -0400
1640
1641 .gitignore: use common defaults with custom section # 24239
1642
1643 Using common defaults will reduce errors and maintenance.
1644 Only the very small or inexistent custom section need periodic maintenance
1645 when the structure of the component changes. Do not edit defaults.
1646
1647 commit 68ae0e442ad57534c25566284ad049299a982d00
1648 Author: Jeremy Huddleston <[email protected]>
1649 Date: Wed Oct 21 12:47:25 2009 -0700
1650
1651 This is not a GNU project, so declare it foreign.
1652
1653 On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote:
1654 > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote:
1655 > > I noticed an INSTALL file in xlsclients and libXvMC today, and it
1656 > > was quite annoying to work around since 'autoreconf -fvi' replaces
1657 > > it and git wants to commit it. Should these files even be in git?
1658 > > Can I nuke them for the betterment of humanity and since they get
1659 > > created by autoreconf anyways?
1660 >
1661 > See https://bugs.freedesktop.org/show_bug.cgi?id=24206
1662
1663 As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with
1664 AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation
1665 of the INSTALL file. It is also part of the 24206 solution.
1666
1667 Signed-off-by: Jeremy Huddleston <[email protected]>
1668
1669 commit 130b2fb0ea716143c63ba30856eecb351bc2af2a
1670 Author: Alan Coopersmith <[email protected]>
1671 Date: Fri Oct 9 10:32:08 2009 -0700
1672
1673 libXpm 3.5.8
1674
1675 Signed-off-by: Alan Coopersmith <[email protected]>
1676
1677 commit a195bd6d375c311b9bf6d7cce477f1d131425757
1678 Author: Alan Coopersmith <[email protected]>
1679 Date: Thu Oct 8 21:29:45 2009 -0700
1680
1681 Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS
1682
1683 Signed-off-by: Alan Coopersmith <[email protected]>
1684
1685 commit f4c43f70dff3cb9702fd62bc388353d02589e618
1686 Author: Alan Coopersmith <[email protected]>
1687 Date: Thu Oct 8 20:27:49 2009 -0700
1688
1689 Replace AC_DEFINE_DIR with AX_DEFINE_DIR from Autoconf Archive
1690
1691 commit d846316822ba8eb545d41140007ef98a7de9274e
1692 Author: Alan Coopersmith <[email protected]>
1693 Date: Tue May 19 01:34:19 2009 -0700
1694
1695 Update AC_DEFINE_DIR to latest version from Autoconf Archive
1696
1697 commit 53f8b42f89214b85804ae9e64c49d1a9c2a7553d
1698 Author: Alan Coopersmith <[email protected]>
1699 Date: Mon Feb 2 20:34:35 2009 -0800
1700
1701 Add README with pointers to mailing list, bugzilla & git repos
1702
1703 Signed-off-by: Alan Coopersmith <[email protected]>
1704
1705 commit 6697e31fbb616656b7f34515a79454af394b500a
1706 Author: Paulo Cesar Pereira de Andrade <[email protected]>
1707 Date: Fri Jan 30 15:45:20 2009 -0200
1708
1709 Janitor: ansification, make distcheck, .gitignore
1710
1711 The ansification code is minor edit of the patch (by me) at
1712 https://bugs.freedesktop.org/show_bug.cgi?id=14727
1713 as it would not apply cleanly anymore.
1714
1715 commit 41e4e2de4d73d098d332ece0410e9f8fda4fe10d
1716 Author: Peter Breitenlohner <[email protected]>
1717 Date: Mon Oct 20 19:36:52 2008 -0700
1718
1719 X.Org Bug 17944: avoid gcc warning for libXpm
1720
1721 <http://bugs.freedesktop.org/show_bug.cgi?id=17944>
1722
1723 Avoid the gcc warning
1724 cxpm/cxpm.c:102: warning: no previous prototype for 'ErrorMessage'
1725
1726 commit 64323668c07b4768c57649f5ec7e2888265d1aeb
1727 Author: Matthieu Herrb <[email protected]>
1728 Date: Sun Mar 9 08:57:47 2008 +0100
1729
1730 nuke RCS Ids
1731
1732 commit 6ef45c37160079a9aa551adcd841abdb55eabae3
1733 Author: Benjamin Close <[email protected]>
1734 Date: Thu Jan 31 14:42:41 2008 +1030
1735
1736 Use libtools SED check rather than autoconf's SED check.
1737 AC_PROG_SED required autoconf 2.60, libtool's should work
1738 regardless. This keeps us supporting 2.57 of autoconf
1739
1740 Found by: Tinderbox (1.4.1 compile)
1741
1742 commit 3f7624048aa6064c69e2320a70fb7fc89e0bb7ef
1743 Author: Alan Coopersmith <[email protected]>
1744 Date: Thu Jan 24 14:26:34 2008 -0800
1745
1746 Bug 14171: sxpm/Makefile.am:21: SED was already defined
1747
1748 <http://bugs.freedesktop.org/show_bug.cgi?id=14171>
1749
1750 commit 503843fd3066031adbd4a362c686acc721787b7d
1751 Author: James Cloos <[email protected]>
1752 Date: Thu Dec 6 16:38:36 2007 -0500
1753
1754 Replace static ChangeLog with dist-hook to generate from git log
1755
1756 commit 3e37dd39b6169af9928d5b959c40ba79a07450ee
1757 Author: Alan Coopersmith <[email protected]>
1758 Date: Wed Aug 22 13:23:30 2007 -0700
1759
1760 Version bump: 3.5.7
1761
1762 commit d82244497b54889f91c78585374d1ad6a0cef2cf
1763 Author: Alan Coopersmith <[email protected]>
1764 Date: Wed Aug 22 13:08:42 2007 -0700
1765
1766 Replace strcpy with strncpy to match previous code block
1767
1768 commit 47c974872b51b8c1d6965eff4599f8ce739bcedc
1769 Author: Alan Coopersmith <[email protected]>
1770 Date: Mon Aug 6 14:22:48 2007 -0700
1771
1772 Use srcdir in paths passed to xgettext when making .po files
1773
1774 commit 6e003fd5f174a8e312d799d7f8812c2a5b87e433
1775 Author: Alan Coopersmith <[email protected]>
1776 Date: Mon Aug 6 12:59:04 2007 -0700
1777
1778 Replace index/rindex with C89 standard strchr/strrchr
1779
1780 commit 43dfc6be8128139888426d8c709aa78efc207953
1781 Author: Jason Rumney <[email protected]>
1782 Date: Mon Aug 6 12:52:52 2007 -0700
1783
1784 X.Org Bug #11863: Build libXpm on MS Windows (with MinGW)
1785
1786 * src/XpmI.h [FOR_MSW]: Include simx.h instead of real X headers.
1787
1788 * src/simx.h (_XFUNCPROTOBEGIN, _XFUNCPROTOEND, NO_ZPIPE): Define.
1789 (XAllocColor): Fix arg list in prototype.
1790 (bzero, close, fdopen, index, rindex, open, strdup, O_RDONLY):
1791 Map to W32 equivalents.
1792
1793 * src/RdFToI.c [FOR_MSW]: Include fcntl.h.
1794
1795 commit 290f0b9115428dab0cbf2880d154468c557b3e7e
1796 Author: Alan Coopersmith <[email protected]>
1797 Date: Wed Jul 25 17:45:15 2007 -0700
1798
1799 Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4
1800
1801 commit d4bc7dc0dea218cea380aba972f10f60dc1e86ac
1802 Author: Alan Coopersmith <[email protected]>
1803 Date: Wed Jun 27 13:54:07 2007 -0700
1804
1805 Use AM_CFLAGS & AM_CPPFLAGS to replace per-program and obsolete macros
1806
1807 Clears some warnings from automake-1.10
1808
1809 commit 85a87de3c03ca8be526dedc0a2973f9426518c39
1810 Author: Alan Coopersmith <[email protected]>
1811 Date: Tue Nov 21 17:12:18 2006 -0800
1812
1813 Sun bug 4486226: Xpm is not internationalized
1814
1815 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4486226>
1816 Use gettext() to allow translated messages in sxpm & cxpm
1817 (cherry picked from bcda4f17ab3fa9f0572f876dbeb09b45fbc23f3d commit)
1818
1819 commit 3c881daddcc251d6e806715d267e4e55934abd1a
1820 Author: Alan Coopersmith <[email protected]>
1821 Date: Tue Nov 21 15:13:44 2006 -0800
1822
1823 Add *~ to .gitignore to skip over emacs/patch droppings
1824
1825 commit 60817dd28774540622ea404f650db8389c66da54
1826 Author: Adam Jackson <[email protected]>
1827 Date: Fri Oct 13 16:23:49 2006 -0400
1828
1829 Bump to 3.5.6
1830
1831 commit 12dc4dc15234ae818a21c20ebf7b2d053b7a94be
1832 Author: Alan Coopersmith <[email protected]>
1833 Date: Thu Jul 13 14:59:03 2006 -0700
1834
1835 renamed: .cvsignore -> .gitignore
1836
1837 commit 4daea919c3aa104b6caf8c0f42f49ae755545986
1838 Author: Alan Coopersmith <[email protected]>
1839 Date: Sat Jun 3 06:11:30 2006 +0000
1840
1841 Always initialize atomTable to NULL, so xpmHashTableFree() doesn't try to
1842 free a random value from the stack if xpmHashTableInit returns an
1843 error.
1844
1845 commit 19855d6e09aa36db7686ad6f538179bf87e9c6ea
1846 Author: Alan Coopersmith <[email protected]>
1847 Date: Fri Jun 2 19:48:01 2006 +0000
1848
1849 Coverity #1432: Returned without freeing storage "hints_cmt" (in error case
1850 when xpmHashTableInit failed)
1851
1852 commit 000abcd371d0c4b1d0a5380023d74bf5bfc47685
1853 Author: Alan Coopersmith <[email protected]>
1854 Date: Fri Jun 2 19:33:29 2006 +0000
1855
1856 Coverity #1415: Returned without freeing storage "hints_cmt" (in error case
1857 when xpmHashTableInit failed)
1858
1859 commit 5c70c99833d4040aaf595d0005b861e0a930ee66
1860 Author: Adam Jackson <[email protected]>
1861 Date: Thu Apr 27 00:19:37 2006 +0000
1862
1863 Bump to 3.5.5
1864
1865 commit 2dcc187c92c1a579e6e9f0bad999a3b4e47228c3
1866 Author: Matthieu Herrb <[email protected]>
1867 Date: Sat Mar 18 15:18:56 2006 +0000
1868
1869 doublecheck that a pointer is not NULL before dereferencing it. (Coverity
1870 CID 121).
1871
1872 commit 93421a53ccf159ff39bc9f8ff72c57246f9cb90c
1873 Author: Kevin E Martin <[email protected]>
1874 Date: Thu Dec 15 00:24:31 2005 +0000
1875
1876 Update package version number for final X11R7 release candidate.
1877
1878 commit 2b229ddcb52a3bf9bef32e764f93cc57c1351420
1879 Author: Kevin E Martin <[email protected]>
1880 Date: Tue Dec 6 22:48:44 2005 +0000
1881
1882 Change *man_SOURCES ==> *man_PRE to fix autotools warnings.
1883
1884 commit 50214deb692a9af760088f8e7a51955c7d3f1707
1885 Author: Kevin E Martin <[email protected]>
1886 Date: Sat Dec 3 05:49:44 2005 +0000
1887
1888 Update package version number for X11R7 RC3 release.
1889
1890 commit 19881d3c88ff0713ef550382fd0dfb03123dabed
1891 Author: Alan Coopersmith <[email protected]>
1892 Date: Mon Nov 28 22:03:06 2005 +0000
1893
1894 Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
1895 update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
1896
1897 commit a6fbdb403efd3bf7e1179660959fd0e66a301ce0
1898 Author: Kevin E Martin <[email protected]>
1899 Date: Sat Nov 19 07:15:42 2005 +0000
1900
1901 Update pkgconfig files to separate library build-time dependencies from
1902 application build-time dependencies, and update package deps to work
1903 with separate build roots.
1904
1905 commit 82513d04a8381da8d2281d7581f6b0d65901aede
1906 Author: Alan Coopersmith <[email protected]>
1907 Date: Sun Nov 13 02:08:07 2005 +0000
1908
1909 Use sed to substitute variables in man pages
1910
1911 commit d1b430289b2ddb6c1f3383c5288aa125b058508a
1912 Author: Kevin E Martin <[email protected]>
1913 Date: Wed Nov 9 21:19:13 2005 +0000
1914
1915 Update package version number for X11R7 RC2 release.
1916
1917 commit e2c9276ccc1ef619dcfbdeb414ef0dec5113c1ee
1918 Author: Alan Coopersmith <[email protected]>
1919 Date: Sat Oct 29 02:26:49 2005 +0000
1920
1921 Add --enable-stat-zfile (on by default) to replace Imake's ZFILEDEF =
1922 -DSTAT_ZFILE to enable automatically searching for file.xpm.Z &
1923 file.xpm.gz when file.xpm is requested.
1924
1925 commit 2f57ab95012d9221cca1af6c0a1ccea5d308c66f
1926 Author: Kevin E Martin <[email protected]>
1927 Date: Wed Oct 19 02:48:11 2005 +0000
1928
1929 Update package version number for RC1 release.
1930
1931 commit 72bf88ed120fb888c57ed3223faa316403031b36
1932 Author: Kevin E Martin <[email protected]>
1933 Date: Wed Oct 5 20:24:14 2005 +0000
1934
1935 Add missing files to EXTRA_DIST
1936 Fix man page installation
1937
1938 commit 08c43c5f1f851c1acad360a28767670dc62d8a66
1939 Author: Matthieu Herrb <[email protected]>
1940 Date: Mon Oct 3 19:53:58 2005 +0000
1941
1942 Last argument of variable parameter list needs to be casted to a pointer
1943 type.
1944
1945 commit 5ecad7c12c3104d653972385f548e3f86532cbe3
1946 Author: Kevin E Martin <[email protected]>
1947 Date: Fri Jul 29 21:22:52 2005 +0000
1948
1949 Various changes preparing packages for RC0:
1950 - Verify and update package version numbers as needed
1951 - Implement versioning scheme
1952 - Change bug address to point to bugzilla bug entry form
1953 - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to
1954 reenable it)
1955 - Fix makedepend to use pkgconfig and pass distcheck
1956 - Update build script to build macros first
1957 - Update modular Xorg version
1958
1959 commit 703207d3b3718223d4b2711fb77fc96a4f3909ef
1960 Author: Matthieu Herrb <[email protected]>
1961 Date: Sun Jul 17 10:32:57 2005 +0000
1962
1963 fix build outside of $(srcdir)
1964
1965 commit 5a0177d4474787951c0cae56e285bb075ab405f3
1966 Author: Alan Coopersmith <[email protected]>
1967 Date: Sat Jul 16 21:11:25 2005 +0000
1968
1969 Accept autoconf HAVE_STRLCPY as alias for HAS_STRLCAT
1970
1971 commit fd38ee667976855150d3c1231a1acc2cf1a89330
1972 Author: Alan Coopersmith <[email protected]>
1973 Date: Sat Jul 16 21:10:44 2005 +0000
1974
1975 Check for strlcat() for use in parse.c
1976
1977 commit 9b3eed6e4f7ee542149ecec0d017a3a460f7c084
1978 Author: Daniel Stone <[email protected]>
1979 Date: Sat Jul 16 07:23:39 2005 +0000
1980
1981 Set soversion to 4.11.0 with -version-number.
1982
1983 commit a705a1cd9dc4c4ba1940c9b59d2107ba59360e39
1984 Author: Keith Packard <[email protected]>
1985 Date: Sat Jul 9 06:45:44 2005 +0000
1986
1987 Add .cvsignore files
1988
1989 commit b1d84a9fc9b15232c09b6ce5d96c097fdd4f0a15
1990 Author: Alexander Gottwald <[email protected]>
1991 Date: Thu Jun 9 13:42:36 2005 +0000
1992
1993 Use $(top_srcdir)/src instead of $(top_builddir)/src in INCLUDES
1994
1995 commit 769751fba3e32f49272d19799929e1ad5a3d2cd0
1996 Author: Søren Sandmann Pedersen <[email protected]>
1997 Date: Thu May 19 17:09:13 2005 +0000
1998
1999 Add $(top_builddir)/include to INCLUDES
2000
2001 commit 2cc1896c61eef5739bb6a8ffa89e58ba5c175a05
2002 Author: Søren Sandmann Pedersen <[email protected]>
2003 Date: Thu May 19 15:02:48 2005 +0000
2004
2005 - Add build system for lib/Xpm
2006 - Add Xpm to symlink.sh
2007 - Conditionally include config.h in xc/extras/Xpm
2008
2009 commit cf0d69c7ace679f27f105c582760b9be14923aba
2010 Author: Søren Sandmann Pedersen <[email protected]>
2011 Date: Thu May 19 14:37:53 2005 +0000
2012
2013 Thu May 19 10:36:54 2005 Søren Sandmann <[email protected]>
2014 Add "../lib" to INCLUDES.
2015 Replace #include "../lib/foo" with #include "foo".
2016
2017 commit 639b3598cd0e7214010248efb62b75ef85a8e5c5
2018 Author: Matthieu Herrb <[email protected]>
2019 Date: Mon Feb 21 20:52:32 2005 +0000
2020
2021 Avoid inifite loops. From Chris Gilbert in bug #1920.
2022
2023 commit f1908d7ee5e2d2d44db2116b3c88213da9dfb854
2024 Author: Matthieu Herrb <[email protected]>
2025 Date: Sat Dec 11 16:14:05 2004 +0000
2026
2027 Fix incomplete merge.
2028
2029 commit b041980732f6a6002001cfe079fdfb982937d4a8
2030 Author: Matthieu Herrb <[email protected]>
2031 Date: Sat Dec 11 16:08:59 2004 +0000
2032
2033 more s_open() cleanup.
2034
2035 commit 90d0638a42553786f54df333f0da4d008e9a0573
2036 Author: Matthieu Herrb <[email protected]>
2037 Date: Sat Dec 11 16:04:34 2004 +0000
2038
2039 Replace s_popen() by a more specific function that allows only one command
2040 in the pipe. Remove extraneous tests on file names that broke some
2041 applications. From Alex Reisen in Bugzilla #1920.
2042
2043 commit 2c23dbf2cafaad72b1f45da915eb87a8f792fdb0
2044 Author: Roland Mainz <[email protected]>
2045 Date: Wed Dec 8 01:16:48 2004 +0000
2046
2047 //bugs.freedesktop.org/show_bug.cgi?id=830): Fix libXpm header (xpm.h) to
2048 use the X11 function begin/end marker macros (_XFUNCPROTOBEGIN,
2049 _XFUNCPROTOEND) instead of homegrown (native) C++ code. Patch by Kevin
2050 DeKorte <[email protected]>.
2051
2052 commit 50986a34f231fbc7a4b62466bd89bd4ae4027d2e
2053 Author: Matthieu Herrb <[email protected]>
2054 Date: Thu Nov 25 21:19:11 2004 +0000
2055
2056 Fixes for CAN-2004-0914 (Thomas Biege).
2057
2058 commit a983dafac59dcb425666a5a5556da4734e50c6c5
2059 Author: Egbert Eich <[email protected]>
2060 Date: Tue Sep 21 17:57:35 2004 +0000
2061
2062 Merged over libXpm security fix provided by Chris Evans, Matthieu Herrb and
2063 Alan Coopersmith from release 6.8.1.
2064 Fail during initialization with error if font/fontset is not set for
2065 widget. This prevents a sig11 later when the non-existent font/fontset
2066 structs are referenced.
2067 Check if xf86Info.kbdProc pointer is really set before calling it on abort
2068 as this pointer won't be set if the new modular keyboard driver is used
2069 (Matthias Hopf).
2070 Added new libs to the bindist control files.
2071 Removed inclusion of unnecessary kernel header on Linux. This may fail in
2072 an -ansi environment.
2073
2074 commit 2773a7214e282f6f673483f5233b880505947c3f
2075 Author: Egbert Eich <[email protected]>
2076 Date: Fri Apr 23 18:42:32 2004 +0000
2077
2078 Merging XORG-CURRENT into trunk
2079
2080 commit 65c64a2eaa8698434f1869dcdcb5d9ccb21c6932
2081 Author: Egbert Eich <[email protected]>
2082 Date: Sun Mar 14 08:28:26 2004 +0000
2083
2084 Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004
2085
2086 commit 0b313707a677523fed9ac485445e8b09d2a85c13
2087 Author: Egbert Eich <[email protected]>
2088 Date: Wed Mar 3 12:09:53 2004 +0000
2089
2090 Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004
2091
2092 commit 658f8e9a9094ba5d18743694cad7275be53c7a25
2093 Author: Egbert Eich <[email protected]>
2094 Date: Thu Feb 26 13:34:33 2004 +0000
2095
2096 readding XFree86's cvs IDs
2097
2098 commit 9971f91864e8f722b42c58f2ff19025715f33b98
2099 Author: Egbert Eich <[email protected]>
2100 Date: Thu Feb 26 09:21:31 2004 +0000
2101
2102 Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004
2103
2104 commit fbfe965054d8144946651b19085684af7f6715b9
2105 Author: Kaleb Keithley <[email protected]>
2106 Date: Tue Nov 25 19:27:16 2003 +0000
2107
2108 XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks
2109
2110 commit c037348b5df0ac94ad4daba59f8bc9acf12ef623
2111 Author: Kaleb Keithley <[email protected]>
2112 Date: Fri Nov 14 16:48:24 2003 +0000
2113
2114 XFree86 4.3.0.1
2115
2116 commit aafaabc4a0bfab6544e085ee504ad69de4a5ddb1
2117 Author: Kaleb Keithley <[email protected]>
2118 Date: Fri Nov 14 16:48:24 2003 +0000
2119
2120 Initial revision