152dc082bSmrgcommit a154f12b6e56f131bd5880fc96f11615ff940b29 252dc082bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 352dc082bSmrgDate: Tue Oct 3 08:43:57 2023 -0700 452dc082bSmrg 552dc082bSmrg libXpm 3.5.17 652dc082bSmrg 752dc082bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 852dc082bSmrg 952dc082bSmrgcommit 91f887b41bf75648df725a4ed3be036da02e911e 1052dc082bSmrgAuthor: Yair Mizrahi <yairm@jfrog.com> 1152dc082bSmrgDate: Thu Sep 7 16:59:07 2023 -0700 1252dc082bSmrg 1352dc082bSmrg Avoid CVE-2023-43787 (integer overflow in XCreateImage) 1452dc082bSmrg 1552dc082bSmrg This doesn't fix the CVE - that has to happen in libX11, this 1652dc082bSmrg just tries to avoid triggering it from libXpm, and saves time 1752dc082bSmrg in not pretending we can successfully create an X Image for 1852dc082bSmrg which the width * depth would overflow the signed int used to 1952dc082bSmrg store the bytes_per_line value. 2052dc082bSmrg 2152dc082bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 2252dc082bSmrg 2352dc082bSmrgcommit 00348988396c88150f6ddfea3d3195cbf01d60c2 2452dc082bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2552dc082bSmrgDate: Thu Sep 7 16:55:25 2023 -0700 2652dc082bSmrg 2752dc082bSmrg test: Add test case for CVE-2023-43787 (integer overflow in XCreateImage) 2852dc082bSmrg 2952dc082bSmrg Provided by Yair Mizrahi of the JFrog Vulnerability Research team 3052dc082bSmrg 3152dc082bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3252dc082bSmrg 3352dc082bSmrgcommit 84fb14574c039f19ad7face87eb9acc31a50701c 3452dc082bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3552dc082bSmrgDate: Wed Sep 6 17:34:33 2023 -0700 3652dc082bSmrg 3752dc082bSmrg Avoid CVE-2023-43786: stack exhaustion in XPutImage() 3852dc082bSmrg 3952dc082bSmrg This doesn't fix the CVE - that has to happen in libX11, this 4052dc082bSmrg just tries to avoid triggering it from libXpm, and saves time 4152dc082bSmrg in not pretending we can successfully create an X11 pixmap with 4252dc082bSmrg dimensions larger than the unsigned 16-bit integers used in the 4352dc082bSmrg X11 protocol for the dimensions. 4452dc082bSmrg 4552dc082bSmrg Reported by Yair Mizrahi of the JFrog Vulnerability Research team 4652dc082bSmrg 4752dc082bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4852dc082bSmrg 4952dc082bSmrgcommit edb97396620f019f8d2e707ad3fbaf6bbbd5ed36 5052dc082bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 5152dc082bSmrgDate: Tue Sep 5 17:01:58 2023 -0700 5252dc082bSmrg 5352dc082bSmrg test: Add test case for CVE-2023-43786 (stack exhaustion in PutImage) 5452dc082bSmrg 5552dc082bSmrg Provided by Yair Mizrahi of the JFrog Vulnerability Research team 5652dc082bSmrg 5752dc082bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 5852dc082bSmrg 5952dc082bSmrgcommit 7e21cb63b9a1ca760a06cc4cd9b19bbc3fcd8f51 6052dc082bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 6152dc082bSmrgDate: Sat Apr 29 18:30:34 2023 -0700 6252dc082bSmrg 6352dc082bSmrg Fix CVE-2023-43789: Out of bounds read on XPM with corrupted colormap 6452dc082bSmrg 6552dc082bSmrg Found with clang's libfuzzer 6652dc082bSmrg 6752dc082bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 6852dc082bSmrg 6952dc082bSmrgcommit a21e7bcf0ca3d8c1605b2721a545440260870438 7052dc082bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 7152dc082bSmrgDate: Sat Apr 29 18:29:29 2023 -0700 7252dc082bSmrg 7352dc082bSmrg test: Add test case for CVE-2023-43789 (corrupt colormap info) 7452dc082bSmrg 7552dc082bSmrg Generated by clang's -fsanitize/libfuzzer 7652dc082bSmrg 7752dc082bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 7852dc082bSmrg 7952dc082bSmrgcommit 2fa554b01ef6079a9b35df9332bdc4f139ed67e0 8052dc082bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 8152dc082bSmrgDate: Sat Apr 29 17:50:39 2023 -0700 8252dc082bSmrg 8352dc082bSmrg Fix CVE-2023-43788: Out of bounds read in XpmCreateXpmImageFromBuffer 8452dc082bSmrg 8552dc082bSmrg When the test case for CVE-2022-46285 was run with the Address Sanitizer 8652dc082bSmrg enabled, it found an out-of-bounds read in ParseComment() when reading 8752dc082bSmrg from a memory buffer instead of a file, as it continued to look for the 8852dc082bSmrg closing comment marker past the end of the buffer. 8952dc082bSmrg 9052dc082bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 9152dc082bSmrg 9252dc082bSmrgcommit 7f60f3428aa21d5d643eb75bfd9417cfabf48970 9352dc082bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 9452dc082bSmrgDate: Tue Sep 5 17:35:55 2023 -0700 9552dc082bSmrg 9652dc082bSmrg Explicitly mark non-static symbols as export or hidden 9752dc082bSmrg 9852dc082bSmrg Hides private API from external linkage 9952dc082bSmrg 10052dc082bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10152dc082bSmrg 10252dc082bSmrgcommit 2695ccda5df58af60ebb15bb17f1570437554adb 10352dc082bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 10452dc082bSmrgDate: Sat May 20 13:47:52 2023 -0700 10552dc082bSmrg 10652dc082bSmrg test: use g_pattern_spec_match_string if available 10752dc082bSmrg 10852dc082bSmrg g_pattern_spec_match_string was introduced in glib 2.70 to replace 10952dc082bSmrg g_pattern_match_string which is deprecated in glib 2.70 and later. 11052dc082bSmrg 11152dc082bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 11252dc082bSmrg 11352dc082bSmrgcommit 4524c578581b427145ae136844fc655a89e94777 11452dc082bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 11552dc082bSmrgDate: Mon Mar 27 18:35:46 2023 -0700 11652dc082bSmrg 11752dc082bSmrg Set close-on-exec when opening files 11852dc082bSmrg 11952dc082bSmrg Relies on platforms with O_CLOEXEC support following POSIX requirement 12052dc082bSmrg to not copy the close-on-exec flag to the new fd in dup2(), but to leave 12152dc082bSmrg it unset instead, since that's how fd's are passed to child processes 12252dc082bSmrg to handled compressed files. 12352dc082bSmrg 12452dc082bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12552dc082bSmrg 12674835918Smrgcommit f131de92d6c4e2f62934e85b012287276ecf009c 12774835918SmrgAuthor: Matt Turner <mattst88@gmail.com> 12874835918SmrgDate: Mon Apr 17 15:22:35 2023 -0400 12974835918Smrg 13074835918Smrg libXpm 3.5.16 13174835918Smrg 13274835918Smrg Signed-off-by: Matt Turner <mattst88@gmail.com> 13374835918Smrg 13474835918Smrgcommit 8b9c4e4c5d278409dc41d19f0c8a8940403cd5c7 13574835918SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 13674835918SmrgDate: Mon Mar 27 18:21:12 2023 -0700 13774835918Smrg 13874835918Smrg xpmReadRgbNames: constify filename argument 13974835918Smrg 14074835918Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14174835918Smrg 14274835918Smrgcommit fd620b4f6c59674090b956a9d9e188a1250a4663 14374835918SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 14474835918SmrgDate: Mon Mar 27 18:15:41 2023 -0700 14574835918Smrg 14674835918Smrg test: Add simple test cases for functions in src/rgb.c 14774835918Smrg 14874835918Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 14974835918Smrg 15074835918Smrgcommit e01d691aa684d0d1247f772b7c537ec3254bb9bc 15174835918SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 15274835918SmrgDate: Mon Mar 27 18:03:13 2023 -0700 15374835918Smrg 15474835918Smrg test: Use PACKAGE_BUGREPORT instead of hard-coded URL's 15574835918Smrg 15674835918Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 15774835918Smrg 15874835918Smrgcommit 92030dd4c221e8043521ae4dc9d32d50e6ff44c4 15974835918SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 16074835918SmrgDate: Sun Feb 12 13:22:57 2023 -0800 16174835918Smrg 16274835918Smrg parse.c: remove unused function xstrlcpy() 16374835918Smrg 16474835918Smrg parse.c:74:1: warning: unused function 'xstrlcpy' [-Wunused-function] 16574835918Smrg xstrlcpy(char *dst, const char *src, size_t dstsize) 16674835918Smrg ^ 16774835918Smrg 16874835918Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 16974835918Smrg 17074835918Smrgcommit 8e0e63519069bed43b3bf1ce1f11fd0cd516d3e4 17174835918SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 17274835918SmrgDate: Sun Feb 12 10:51:46 2023 -0800 17374835918Smrg 17474835918Smrg parse.c: Wrap FREE_CIDX definition in do { ... } while(0) 17574835918Smrg 17674835918Smrg Makes it match the definition in create.c and eliminates 17774835918Smrg clang warnings: 17874835918Smrg 17974835918Smrg create.c:2409:13: warning: empty expression statement has no effect; 18074835918Smrg remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 18174835918Smrg FREE_CIDX; 18274835918Smrg ^ 18374835918Smrg create.c:2440:17: warning: empty expression statement has no effect; 18474835918Smrg remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 18574835918Smrg FREE_CIDX; 18674835918Smrg ^ 18774835918Smrg create.c:2444:13: warning: empty expression statement has no effect; 18874835918Smrg remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 18974835918Smrg FREE_CIDX; 19074835918Smrg ^ 19174835918Smrg create.c:2449:15: warning: empty expression statement has no effect; 19274835918Smrg remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 19374835918Smrg FREE_CIDX; 19474835918Smrg ^ 19574835918Smrg 19674835918Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 19774835918Smrg 19874835918Smrgcommit 25616112983cd3f8bfe5379771b5bfd63b3c3621 19974835918SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 20074835918SmrgDate: Sun Feb 12 09:23:09 2023 -0800 20174835918Smrg 20274835918Smrg XpmCreateDataFromXpmImage: Fix misleading indentation 20374835918Smrg 20474835918Smrg CrDatFrI.c: In function ‘XpmCreateDataFromXpmImage’: 20574835918Smrg CrDatFrI.c:245:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 20674835918Smrg 245 | if (header[l]) 20774835918Smrg | ^~ 20874835918Smrg In file included from CrDatFrI.c:40: 20974835918Smrg XpmI.h:80:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 21074835918Smrg 80 | #define XpmFree(ptr) free(ptr) 21174835918Smrg | ^~~~ 21274835918Smrg CrDatFrI.c:247:17: note: in expansion of macro ‘XpmFree’ 21374835918Smrg 247 | XpmFree(header); 21474835918Smrg | ^~~~~~~ 21574835918Smrg CrDatFrI.c: In function ‘CreateColors’: 21674835918Smrg 21774835918Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 21874835918Smrg 21974835918Smrgcommit 45d8f4f20665c77dd1924b78559fb2494a77ad7a 22074835918SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 22174835918SmrgDate: Sun Feb 12 09:20:44 2023 -0800 22274835918Smrg 22374835918Smrg Require LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL 22474835918Smrg 22574835918Smrg AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, 22674835918Smrg so it's time to rely on it. 22774835918Smrg 22874835918Smrg configure.ac:14: warning: The macro `AC_PROG_LIBTOOL' is obsolete. 22974835918Smrg configure.ac:14: You should run autoupdate. 23074835918Smrg m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... 23174835918Smrg configure.ac:14: the top level 23274835918Smrg 23374835918Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 23474835918Smrg 23574835918Smrgcommit c52082c6e4811958dd741d67e1178b4e36a09923 23674835918SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 23774835918SmrgDate: Sun Feb 5 12:14:43 2023 -0800 23874835918Smrg 23974835918Smrg open-zfile: Make compress & uncompress commands optional 24074835918Smrg 24174835918Smrg If compress is not found, we disable writing to .Z files, 24274835918Smrg but leave the rest of the compression code active. 24374835918Smrg 24474835918Smrg If uncompress is not found, we use gzip to read .Z files. 24574835918Smrg 24674835918Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 24774835918Smrg 24874835918Smrgcommit 77e3b389eb92b8d8f94f5b83c1d3d7cd4db5b037 24974835918SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 25074835918SmrgDate: Mon Jan 23 19:57:28 2023 +1000 25174835918Smrg 25274835918Smrg Fix a memleak in ParsePixels error code path 25374835918Smrg 25474835918Smrg In this particular error path we have already allocated cidx[0..256] 25574835918Smrg with 256 instances of fresh and juicy memory. Freeing that is annoying, 25674835918Smrg but luckily there's a helpful FREE_CIDX macro that does exactly that. 25774835918Smrg 25874835918Smrg Fixes f80fa6a: 25974835918Smrg Fix CVE-2022-44617: Runaway loop with width of 0 and enormous height 26074835918Smrg 26174835918Smrg Found by covscan 26274835918Smrg 26374835918Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 26474835918Smrg 26574835918Smrgcommit 71d7149cb356b96cc83e2ec95d06df4022039e2c 26674835918SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 26774835918SmrgDate: Thu Jan 19 12:16:26 2023 -0800 26874835918Smrg 26974835918Smrg configure: correct error message to suggest --disable-open-zfile 27074835918Smrg 27174835918Smrg When one of the compression helper programs is not found, the message 27274835918Smrg suggesting how to compile without it should say --disable-open-zfile, 27374835918Smrg not --disable-stat-zfile. 27474835918Smrg 27574835918Smrg Fixes: 515294b ("Fix CVE-2022-4883: compression commands depend on $PATH") 27674835918Smrg Closes: #4 27774835918Smrg 27874835918Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 27974835918Smrg 28074835918Smrgcommit 9bc32a1a9c788eed2982d3fd35f2295a95af3817 28174835918SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 28274835918SmrgDate: Thu Jan 19 12:06:38 2023 -0800 28374835918Smrg 28474835918Smrg gitlab CI: build with each of --enable-open-zfile & --disable-open-zfile 28574835918Smrg 28674835918Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 28774835918Smrg 28874835918Smrgcommit d9cbea1c6bc2b7f2c11964da0d437130bed82279 28974835918SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 29074835918SmrgDate: Tue Jan 17 18:41:32 2023 -0800 29174835918Smrg 29274835918Smrg test: skip compressed file tests when --disable-open-zfile is used 29374835918Smrg 29474835918Smrg Reported-by: T.J. Townsend 29574835918Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 29674835918Smrg 2971c235774Smrgcommit ddd8339e262cbb7b25993599299ad40e0c95ccf6 2981c235774SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 2991c235774SmrgDate: Tue Jan 17 08:19:26 2023 -0800 3001c235774Smrg 3011c235774Smrg libXpm 3.5.15 3021c235774Smrg 3031c235774Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3041c235774Smrg 3051c235774Smrgcommit 8178eb0834d82242e1edbc7d4fb0d1b397569c68 3061c235774SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 3071c235774SmrgDate: Mon Jan 16 19:44:52 2023 +1000 3081c235774Smrg 3091c235774Smrg Use gzip -d instead of gunzip 3101c235774Smrg 3111c235774Smrg GNU gunzip [1] is a shell script that exec's `gzip -d`. Even if we call 3121c235774Smrg /usr/bin/gunzip with the correct built-in path, the actual gzip call 3131c235774Smrg will use whichever gzip it finds first, making our patch pointless. 3141c235774Smrg 3151c235774Smrg Fix this by explicitly calling gzip -d instead. 3161c235774Smrg 3171c235774Smrg https://git.savannah.gnu.org/cgit/gzip.git/tree/gunzip.in 3181c235774Smrg 3191c235774Smrg [Part of the fix for CVE-2022-4883] 3201c235774Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 3211c235774Smrg 3221c235774Smrgcommit c5ab17bcc34914c0b0707d2135dbebe9a367c5f0 3231c235774SmrgAuthor: Matthieu Herrb <matthieu@herrb.eu> 3241c235774SmrgDate: Thu Jan 12 15:05:39 2023 +1000 3251c235774Smrg 3261c235774Smrg Prevent a double free in the error code path 3271c235774Smrg 3281c235774Smrg xpmParseDataAndCreate() calls XDestroyImage() in the error path. 3291c235774Smrg Reproducible with sxpm "zero-width.xpm", that file is in the test/ 3301c235774Smrg directory. 3311c235774Smrg 3321c235774Smrg The same approach is needed in the bytes_per_line == 0 condition though 3331c235774Smrg here it just plugs a memory leak. 3341c235774Smrg 3351c235774Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3361c235774Smrg 3371c235774Smrgcommit 515294bb8023a45ff916696d0a14308ff4f3a376 3381c235774SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3391c235774SmrgDate: Fri Jan 6 12:50:48 2023 -0800 3401c235774Smrg 3411c235774Smrg Fix CVE-2022-4883: compression commands depend on $PATH 3421c235774Smrg 3431c235774Smrg By default, on all platforms except MinGW, libXpm will detect if a 3441c235774Smrg filename ends in .Z or .gz, and will when reading such a file fork off 3451c235774Smrg an uncompress or gunzip command to read from via a pipe, and when 3461c235774Smrg writing such a file will fork off a compress or gzip command to write 3471c235774Smrg to via a pipe. 3481c235774Smrg 3491c235774Smrg In libXpm 3.5.14 or older these are run via execlp(), relying on $PATH 3501c235774Smrg to find the commands. If libXpm is called from a program running with 3511c235774Smrg raised privileges, such as via setuid, then a malicious user could set 3521c235774Smrg $PATH to include programs of their choosing to be run with those 3531c235774Smrg privileges. 3541c235774Smrg 3551c235774Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3561c235774Smrg 3571c235774Smrgcommit f80fa6ae47ad4a5beacb287c0030c9913b046643 3581c235774SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3591c235774SmrgDate: Sat Jan 7 12:44:28 2023 -0800 3601c235774Smrg 3611c235774Smrg Fix CVE-2022-44617: Runaway loop with width of 0 and enormous height 3621c235774Smrg 3631c235774Smrg When reading XPM images from a file with libXpm 3.5.14 or older, if a 3641c235774Smrg image has a width of 0 and a very large height, the ParsePixels() function 3651c235774Smrg will loop over the entire height calling getc() and ungetc() repeatedly, 3661c235774Smrg or in some circumstances, may loop seemingly forever, which may cause a 3671c235774Smrg denial of service to the calling program when given a small crafted XPM 3681c235774Smrg file to parse. 3691c235774Smrg 3701c235774Smrg Closes: #2 3711c235774Smrg 3721c235774Smrg Reported-by: Martin Ettl <ettl.martin78@googlemail.com> 3731c235774Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3741c235774Smrg 3751c235774Smrgcommit f7fbbb92f6d383b21dd1587c3703a5de37c625b5 3761c235774SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3771c235774SmrgDate: Tue Jan 3 17:23:58 2023 -0800 3781c235774Smrg 3791c235774Smrg test: add test cases for CVE-2022-44617 (zero-width w/enormous height) 3801c235774Smrg 3811c235774Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3821c235774Smrg 3831c235774Smrgcommit a3a7c6dcc3b629d765014816c566c63165c63ca8 3841c235774SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 3851c235774SmrgDate: Sat Dec 17 12:23:45 2022 -0800 3861c235774Smrg 3871c235774Smrg Fix CVE-2022-46285: Infinite loop on unclosed comments 3881c235774Smrg 3891c235774Smrg When reading XPM images from a file with libXpm 3.5.14 or older, if a 3901c235774Smrg comment in the file is not closed (i.e. a C-style comment starts with 3911c235774Smrg "/*" and is missing the closing "*/"), the ParseComment() function will 3921c235774Smrg loop forever calling getc() to try to read the rest of the comment, 3931c235774Smrg failing to notice that it has returned EOF, which may cause a denial of 3941c235774Smrg service to the calling program. 3951c235774Smrg 3961c235774Smrg Reported-by: Marco Ivaldi <raptor@0xdeadbeef.info> 3971c235774Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 3981c235774Smrg 3991c235774Smrgcommit f7a167a48a950b89b91f5123a0ec8d9a7cb97495 4001c235774SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4011c235774SmrgDate: Sat Dec 17 12:18:24 2022 -0800 4021c235774Smrg 4031c235774Smrg test: add test case for CVE-2022-46285 (unclosed comments) 4041c235774Smrg 4051c235774Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4061c235774Smrg 4071c235774Smrgcommit 0ff2c6af823ce7712c06150c43c9b403846a035f 4081c235774SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4091c235774SmrgDate: Sat Jan 7 15:43:20 2023 -0800 4101c235774Smrg 4111c235774Smrg cxpm: getc/ungetc wrappers should not adjust position when c == EOF 4121c235774Smrg 4131c235774Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4141c235774Smrg 4151c235774Smrgcommit 501494c6c68a84114fdd0b44d4b67ef9cde776c9 4161c235774SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4171c235774SmrgDate: Sat Jan 7 13:39:56 2023 -0800 4181c235774Smrg 4191c235774Smrg test: Add unit tests using glib framework 4201c235774Smrg 4211c235774Smrg Includes rudimentary tests for XpmReadFileToXpmImage, XpmReadFileToData, 4221c235774Smrg XpmReadFileToBuffer, XpmCreateXpmImageFromData, XpmCreateXpmImageFromBuffer, 4231c235774Smrg XpmWriteFileFromXpmImage, XpmWriteFileFromData, XpmWriteFileFromBuffer, 4241c235774Smrg XpmAttributesSize, XpmGetErrorString, XpmLibraryVersion 4251c235774Smrg 4261c235774Smrg Includes test cases for CVE-2004-0687 4271c235774Smrg 4281c235774Smrg Tests .Z and .gz files if --enable-open-zfile is active 4291c235774Smrg 4301c235774Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4311c235774Smrg 4321c235774Smrgcommit 4841039e5385f264d12757903894f47c64f59361 4331c235774SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4341c235774SmrgDate: Thu Jan 5 15:42:36 2023 -0800 4351c235774Smrg 4361c235774Smrg configure: add --disable-open-zfile instead of requiring -DNO_ZPIPE 4371c235774Smrg 4381c235774Smrg Documents the two compression options in the README, makes their 4391c235774Smrg configure options reflect the interdependency of their implementation, 4401c235774Smrg and makes the configure script report their configuration. 4411c235774Smrg 4421c235774Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4431c235774Smrg 4441c235774Smrgcommit aef0c8dd129838ac35b3cf8a7cdf04c7fd67dff1 4451c235774SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4461c235774SmrgDate: Sun Jan 1 14:19:17 2023 -0800 4471c235774Smrg 4481c235774Smrg man pages: Apply standard man page style/formatting 4491c235774Smrg 4501c235774Smrg Function & macro names in bold, argument names in italics. 4511c235774Smrg 4521c235774Smrg In the man page body, bold function names followed by plain () 4531c235774Smrg for functions defined in this page, plain (3) for functions defined 4541c235774Smrg in other man pages. 4551c235774Smrg 4561c235774Smrg New paragraphs start with .PP, not just a blank line. 4571c235774Smrg 4581c235774Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4591c235774Smrg 4601c235774Smrgcommit 5d55a0be3f8a8d3e53c65c286878fc3224fce135 4611c235774SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4621c235774SmrgDate: Sun Jan 1 10:48:01 2023 -0800 4631c235774Smrg 4641c235774Smrg man pages: Replace "See Also" entries with more useful ones 4651c235774Smrg 4661c235774Smrg "See Also" entries in man pages should list other man pages to 4671c235774Smrg look at, not the alternate names for the current man page. 4681c235774Smrg 4691c235774Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4701c235774Smrg 4711c235774Smrgcommit 392cb8fb444ae632176829076f412cb4029dbdbc 4721c235774SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 4731c235774SmrgDate: Sun Jan 1 10:21:38 2023 -0800 4741c235774Smrg 4751c235774Smrg man pages: Fix typos and other minor editing 4761c235774Smrg 4771c235774Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 4781c235774Smrg 47919569120Smrgcommit 08bc174f28af028b6ebaa9edeccd3ff56c396e92 48019569120SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 48119569120SmrgDate: Sat Nov 19 12:23:53 2022 -0800 48219569120Smrg 48319569120Smrg libXpm 3.5.14 48419569120Smrg 48519569120Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 48619569120Smrg 48719569120Smrgcommit f0857c0de206e90777a5321cce9602083b283080 48819569120SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 48919569120SmrgDate: Sat Aug 27 10:06:23 2022 -0700 49019569120Smrg 49119569120Smrg man pages: Correct Copyright/License notices 49219569120Smrg 49319569120Smrg Since the text was copied from doc/xpm.PS.gz, the copyright and license 49419569120Smrg notices need to be copied from there as well. 49519569120Smrg 49619569120Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 49719569120Smrg 49819569120Smrgcommit deb81a9a210527b0a00f002b1796e5e21e492879 49919569120SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 50019569120SmrgDate: Fri Aug 26 18:39:17 2022 -0700 50119569120Smrg 50219569120Smrg man pages: Fix typos 50319569120Smrg 50419569120Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 50519569120Smrg 50619569120Smrgcommit 2d5fa4c2079494f502f9a576d749fa1e205f2144 50719569120SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 50819569120SmrgDate: Fri Aug 26 18:29:05 2022 -0700 50919569120Smrg 51019569120Smrg man pages: Add missing word 'function' where needed 51119569120Smrg 51219569120Smrg A number of instances of 'The Xpm... function' were missing the word 51319569120Smrg "function", so read awkwardly. 51419569120Smrg 51519569120Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 51619569120Smrg 51719569120Smrgcommit 2b7357e83e38e2a860687ee4150ef60bd6c0a47f 51819569120SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 51919569120SmrgDate: Fri Aug 26 18:16:42 2022 -0700 52019569120Smrg 52119569120Smrg man pages: Make function synopses more consistent with other pages 52219569120Smrg 52319569120Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 52419569120Smrg 52519569120Smrgcommit fb8590c9c57d661ec4a29da243e05b9d87b999d3 52619569120SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 52719569120SmrgDate: Fri Aug 26 18:06:51 2022 -0700 52819569120Smrg 52919569120Smrg man pages: Fix shadow man pages 53019569120Smrg 53119569120Smrg Shadow man pages have a .so line that needs to list the file to be 53219569120Smrg shown, not the name of the shadow page. 53319569120Smrg 53419569120Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 53519569120Smrg 53619569120Smrgcommit bfaebfdcc92433a8b78c004de4bb3c5a8a545e75 53719569120SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 53819569120SmrgDate: Fri Aug 26 17:49:25 2022 -0700 53919569120Smrg 54019569120Smrg man pages: Make file names consistent with their displayed names 54119569120Smrg 54219569120Smrg Lets users view the pages using the name displayed on the pages 54319569120Smrg 54419569120Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 54519569120Smrg 54619569120Smrgcommit 7a138a5278890e122731eb94b8e5a7d6ef543243 54719569120SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 54819569120SmrgDate: Sun Jul 17 16:29:35 2022 -0700 54919569120Smrg 55019569120Smrg gitlab CI: add a basic build test 55119569120Smrg 55219569120Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 55319569120Smrg 55419569120Smrgcommit 3433f4334db7c30864c112639a929c5ae8bd3c3b 55519569120SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 55619569120SmrgDate: Sun Jul 17 16:27:01 2022 -0700 55719569120Smrg 55819569120Smrg man: strip trailing whitespace 55919569120Smrg 56019569120Smrg git diff -w shows no changes from this commit 56119569120Smrg 56219569120Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 56319569120Smrg 56419569120Smrgcommit 961245427855ab6d30a5fa2dbb98aaffa571d728 56519569120SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 56619569120SmrgDate: Sun Jul 17 16:25:38 2022 -0700 56719569120Smrg 56819569120Smrg Fix spelling/wording issues 56919569120Smrg 57019569120Smrg Found by using: 57119569120Smrg codespell --builtin clear,rare,usage,informal,code,names 57219569120Smrg 57319569120Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 57419569120Smrg 57519569120Smrgcommit fa16fbda9c90f932a74cd80c90eee88432d987d7 57619569120SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 57719569120SmrgDate: Sun Jul 17 16:23:04 2022 -0700 57819569120Smrg 57919569120Smrg Build xz tarballs instead of bzip2 58019569120Smrg 58119569120Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 58219569120Smrg 58319569120Smrgcommit 83e5427f9cd5d32602bcf647547e0030ea361f00 58419569120SmrgAuthor: Walter Harms <wharms@bfs.de> 58519569120SmrgDate: Wed Dec 25 20:40:04 2019 +0100 58619569120Smrg 58719569120Smrg update man pages 58819569120Smrg 58919569120Smrg move from k&r to ansi prototypes 59019569120Smrg improve nroff coding 59119569120Smrg 59219569120Smrg Signed-off-by: Walter Harms <wharms@bfs.de> 59319569120Smrg 59419569120Smrgcommit e48e649eb04f95ffbdbd0c8bb77d7131142f5e9a 59519569120SmrgAuthor: Walter Harms <wharms@bfs.de> 59619569120SmrgDate: Tue Dec 24 17:20:09 2019 +0100 59719569120Smrg 59819569120Smrg add man pages based on doc/xpm.PS 59919569120Smrg 60019569120Smrg More or less hand crafted man pages based on xpm.PS. 60119569120Smrg Prototypes are still in K&R, see also is a dud 60219569120Smrg 60319569120Smrg Signed-off-by: Walter Harms <wharms@bfs.de> 60419569120Smrg 605edce3322Smrgcommit b0fc485495a694816d76a43978e2cfd5575c554d 606edce3322SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 607edce3322SmrgDate: Fri Dec 13 14:25:06 2019 +1000 608edce3322Smrg 609edce3322Smrg libXpm 3.5.13 610edce3322Smrg 611edce3322Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 612edce3322Smrg 613edce3322Smrgcommit 5817fd4ac5308fe7c23301c652f174997009b7d5 614edce3322SmrgAuthor: Benjamin Tissoires <benjamin.tissoires@redhat.com> 615edce3322SmrgDate: Wed Dec 4 11:17:21 2019 +0100 616edce3322Smrg 617edce3322Smrg parse: simplify error paths in xpmParseColors() 618edce3322Smrg 619edce3322Smrg We introduced a new label to handle the errors, we should use it 620edce3322Smrg for the rest of the function. 621edce3322Smrg 622edce3322Smrg Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> 623edce3322Smrg 624edce3322Smrgcommit e1d8f704d52f70680869b7aae1da0ad2382db363 625edce3322SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 626edce3322SmrgDate: Thu Dec 5 06:17:00 2019 +1000 627edce3322Smrg 628edce3322Smrg parse: avoid memleak on error with STRLCAT/STRLCPY 629edce3322Smrg 630edce3322Smrg The original macro might exit the function without freeing `colorTable`. 631edce3322Smrg 632edce3322Smrg Move the macros into a slightly less awful helper function and use goto 633edce3322Smrg to clean up in case of error. 634edce3322Smrg 635edce3322Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 636edce3322Smrg 637edce3322Smrgcommit 7af7c5e275b69daedee3696bee1e880586f30373 638edce3322SmrgAuthor: Fabrice Fontaine <fontaine.fabrice@gmail.com> 639edce3322SmrgDate: Fri May 3 07:59:09 2019 +0200 640edce3322Smrg 641edce3322Smrg Allow usage when fork() is not available 642edce3322Smrg 643edce3322Smrg When fork() is not available, we need to define NO_ZPIPE so that 644edce3322Smrg libXpm doesn't try to fork/exec to use a pipe to uncompress compressed 645edce3322Smrg .xpm files. There is obviously a loss of functionality, but loading 646edce3322Smrg uncompressed .xpm files should continue to work. 647edce3322Smrg 648edce3322Smrg Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 649edce3322Smrg [Retrieved from: 650edce3322Smrg https://git.buildroot.net/buildroot/tree/package/x11r7/xlib_libXpm/0001-fork-check.patch] 651edce3322Smrg Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> 652edce3322Smrg 653edce3322Smrgcommit 0be2c6712728cea1fa1bcc640e564c45c2c82e37 654edce3322SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 655edce3322SmrgDate: Fri Dec 7 19:47:06 2018 -0800 656edce3322Smrg 657edce3322Smrg Update configure.ac bug URL for gitlab migration 658edce3322Smrg 659edce3322Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 660edce3322Smrg 661edce3322Smrgcommit c9f8faf1c05fb92abc6c5b1db5e45eb1a7942875 662edce3322SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 663edce3322SmrgDate: Mon Nov 19 22:30:30 2018 -0800 664edce3322Smrg 665edce3322Smrg Update README for gitlab migration 666edce3322Smrg 667edce3322Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 668edce3322Smrg 669edce3322Smrgcommit 73a1e769dcf2a603fc63f5c36626c1c6db815f46 670edce3322SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 671edce3322SmrgDate: Sun Sep 30 15:09:29 2018 -0700 672edce3322Smrg 673edce3322Smrg After fdopen(), use fclose() instead of close() in error path 674edce3322Smrg 675edce3322Smrg Found by Oracle's Parfait 2.2 static analyzer: 676edce3322Smrg 677edce3322Smrg Error: File Leak 678edce3322Smrg File Leak [file-ptr-leak]: 679edce3322Smrg Leaked File fp 680edce3322Smrg at line 94 of lib/libXpm/src/RdFToBuf.c in function 'XpmReadFileToBuffer 681edce3322Smrg '. 682edce3322Smrg fp initialized at line 86 with fdopen 683edce3322Smrg fp leaks when len < 0 at line 92. 684edce3322Smrg 685edce3322Smrg Introduced-by: commit 8b3024e6871ce50b34bf2dff924774bd654703bc 686edce3322Smrg 687edce3322Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 688edce3322Smrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 689edce3322Smrg 690edce3322Smrgcommit bc1b4962f048cfa33b76be46493e10cfb256fe98 691edce3322SmrgAuthor: Dave Bodenstab <the.tick@gmx.com> 692edce3322SmrgDate: Wed Feb 22 12:04:54 2012 +0000 693edce3322Smrg 694edce3322Smrg Windows build fixes 695edce3322Smrg 696edce3322Smrg https://bugs.freedesktop.org/show_bug.cgi?id=46475 697edce3322Smrg https://bugs.freedesktop.org/attachment.cgi?id=57479 698edce3322Smrg 699edce3322Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 700edce3322Smrg 701edce3322Smrgcommit e42ca7b484418b169fd19a4c68e23ad2a6ec7a11 702edce3322SmrgAuthor: Mihail Konev <k.mvc@ya.ru> 703edce3322SmrgDate: Thu Jan 26 13:52:49 2017 +1000 704edce3322Smrg 705edce3322Smrg autogen: add default patch prefix 706edce3322Smrg 707edce3322Smrg Signed-off-by: Mihail Konev <k.mvc@ya.ru> 708edce3322Smrg 709edce3322Smrgcommit ed8f9c2e8b635eb63497c48b24a056f9e6f50609 710edce3322SmrgAuthor: Emil Velikov <emil.l.velikov@gmail.com> 711edce3322SmrgDate: Mon Mar 9 12:00:52 2015 +0000 712edce3322Smrg 713edce3322Smrg autogen.sh: use quoted string variables 714edce3322Smrg 715edce3322Smrg Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent 716edce3322Smrg fall-outs, when they contain space. 717edce3322Smrg 718edce3322Smrg Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> 719edce3322Smrg Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> 720edce3322Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 721edce3322Smrg 722edce3322Smrgcommit 644d7c595ba29fb368666fb497e1e14a92a65a77 723edce3322SmrgAuthor: Peter Hutterer <peter.hutterer@who-t.net> 724edce3322SmrgDate: Tue Jan 24 10:32:07 2017 +1000 725edce3322Smrg 726edce3322Smrg autogen.sh: use exec instead of waiting for configure to finish 727edce3322Smrg 728edce3322Smrg Syncs the invocation of configure with the one from the server. 729edce3322Smrg 730edce3322Smrg Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 731edce3322Smrg Reviewed-by: Emil Velikov <emil.velikov@collabora.com> 732edce3322Smrg 7339f00f3a1Smrgcommit 1fab5e81fd761f628fb68d22934615536dbd0220 7349f00f3a1SmrgAuthor: Matthieu Herrb <matthieu@herrb.eu> 7359f00f3a1SmrgDate: Mon Dec 12 23:09:52 2016 +0100 7369f00f3a1Smrg 7379f00f3a1Smrg libXpm 3.5.12 7389f00f3a1Smrg 7399f00f3a1Smrg Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 7409f00f3a1Smrg 7419f00f3a1Smrgcommit 8b3024e6871ce50b34bf2dff924774bd654703bc 7429f00f3a1SmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 7439f00f3a1SmrgDate: Sun Dec 11 13:50:05 2016 +0100 7449f00f3a1Smrg 7459f00f3a1Smrg Handle size_t in file/buffer length 7469f00f3a1Smrg 7479f00f3a1Smrg The values of file sizes and buffer sizes can exceed current limits. 7489f00f3a1Smrg Therefore, use proper variable types for these operations. 7499f00f3a1Smrg 7509f00f3a1Smrg Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 7519f00f3a1Smrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 7529f00f3a1Smrg 7539f00f3a1Smrgcommit d1167418f0fd02a27f617ec5afd6db053afbe185 7549f00f3a1SmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 7559f00f3a1SmrgDate: Thu Dec 8 17:07:55 2016 +0100 7569f00f3a1Smrg 7579f00f3a1Smrg Avoid OOB write when handling malicious XPM files. 7589f00f3a1Smrg 7599f00f3a1Smrg libXpm uses unsigned int to store sizes, which fits size_t on 32 bit 7609f00f3a1Smrg systems, but leads to issues on 64 bit systems. 7619f00f3a1Smrg 7629f00f3a1Smrg On 64 bit systems, it is possible to overflow 32 bit integers while 7639f00f3a1Smrg parsing XPM extensions in a file. 7649f00f3a1Smrg 7659f00f3a1Smrg At first, it looks like a rather unimportant detail, because nobody 7669f00f3a1Smrg will seriously open a 4 GB file. But unfortunately XPM has support for 7679f00f3a1Smrg gzip compression out of the box. An attacker can therefore craft a 7689f00f3a1Smrg compressed file which is merely 4 MB in size, which makes an attack 7699f00f3a1Smrg much for feasable. 7709f00f3a1Smrg 7719f00f3a1Smrg Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 7729f00f3a1Smrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 7739f00f3a1Smrg 7749f00f3a1Smrgcommit 1ec33006a9e4214b390045b820464e24297dc6c0 7759f00f3a1SmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 7769f00f3a1SmrgDate: Tue Dec 6 22:34:33 2016 +0100 7779f00f3a1Smrg 7789f00f3a1Smrg Gracefully handle EOF while parsing files. 7799f00f3a1Smrg 7809f00f3a1Smrg libXpm does not properly handle EOF conditions when xpmGetC is called 7819f00f3a1Smrg multiple times in a row to construct a string. Instead of checking 7829f00f3a1Smrg its return value for EOF, the result is automatically casted into a 7839f00f3a1Smrg char and attached to a string. 7849f00f3a1Smrg 7859f00f3a1Smrg By carefully crafting the color table in an XPM file, it is possible to 7869f00f3a1Smrg send a libXpm program like gimp into a very long lasting loop and 7879f00f3a1Smrg massive memory allocations. 7889f00f3a1Smrg 7899f00f3a1Smrg Otherwise no memory issues arise, therefore this is just a purely 7909f00f3a1Smrg functional patch to dismiss invalid input. 7919f00f3a1Smrg 7929f00f3a1Smrg Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 7939f00f3a1Smrg Reviewed-by: Matthieu Herrb <Matthieu@herrb.eu> 7949f00f3a1Smrg 7959f00f3a1Smrgcommit c46dedeba15edf7216d62633ed6daf40cd1f5bfd 7969f00f3a1SmrgAuthor: Tobias Stoeckmann <tobias@stoeckmann.org> 7979f00f3a1SmrgDate: Tue Dec 6 22:31:53 2016 +0100 7989f00f3a1Smrg 7999f00f3a1Smrg Fix out out boundary read on unknown colors 8009f00f3a1Smrg 8019f00f3a1Smrg libXpm is vulnerable to an out of boundary read if an XPM file contains 8029f00f3a1Smrg a color with a symbolic name but without any default color value. 8039f00f3a1Smrg 8049f00f3a1Smrg A caller must set XpmColorSymbols and a color with a NULL name in 8059f00f3a1Smrg the supplied XpmAttributes to XpmReadFileToImage (or other functions of 8069f00f3a1Smrg this type) in order to trigger this issue. 8079f00f3a1Smrg 8089f00f3a1Smrg Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> 8099f00f3a1Smrg Reviewed-by: Matthieu Herrb <matthieu@herrb.eu> 8109f00f3a1Smrg 8119f00f3a1Smrgcommit 42ca8d956276bc00bec09e410d76daf053ae35f9 81274835918SmrgAuthor: Jörg Sonnenberger <joerg@NetBSD.org> 8139f00f3a1SmrgDate: Wed Mar 19 09:26:37 2014 +0100 8149f00f3a1Smrg 8159f00f3a1Smrg Fix abs() usage. 8169f00f3a1Smrg 8179f00f3a1Smrg For long arguments, use labs(). 8189f00f3a1Smrg 8199f00f3a1Smrg Reviewed-by: Matt Turner <mattst88@gmail.com> 8209f00f3a1Smrg Signed-off-by: Thomas Klausner <wiz@NetBSD.org> 8219f00f3a1Smrg 822ac92798bSmrgcommit 3425cbb0e6086f74783eafbe23df1121b655e006 823ac92798bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 824ac92798bSmrgDate: Sat Sep 7 21:40:17 2013 -0700 825ac92798bSmrg 826ac92798bSmrg libXpm 3.5.11 827ac92798bSmrg 828ac92798bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 829ac92798bSmrg 830ac92798bSmrgcommit 4bab3b62a47996ee77b8ddebcd92f0ebe9679c28 831ac92798bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 832ac92798bSmrgDate: Sat Sep 7 21:36:51 2013 -0700 833ac92798bSmrg 834ac92798bSmrg Fix typo in COPYING (matches src/amigax.h) 835ac92798bSmrg 836ac92798bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 837ac92798bSmrg 838ac92798bSmrgcommit 9e38750da16c6e5bd8bb26b00d74041ddf9be3e8 839ac92798bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 840ac92798bSmrgDate: Fri Aug 2 22:22:09 2013 -0700 841ac92798bSmrg 842ac92798bSmrg Add noreturn attributes suggested by gcc 843ac92798bSmrg 844ac92798bSmrg Remove extra bogus return added to avoid warnings when calling Punt() 845ac92798bSmrg since gcc didn't know it would never return. 846ac92798bSmrg 847ac92798bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 848ac92798bSmrg 849ac92798bSmrgcommit 93f900ceac7ac899e00998adc8782ed02b352930 850ac92798bSmrgAuthor: Eric S. Raymond <esr@thyrsus.com> 851ac92798bSmrgDate: Wed Jun 19 06:19:18 2013 -0400 852ac92798bSmrg 853ac92798bSmrg doclifter can't handle more than one dash in a name line. 854ac92798bSmrg 855ac92798bSmrgcommit 22734e4439b3609a6b621d8e7ef8465f0a2ac0d5 856ac92798bSmrgAuthor: Claudio Bley <cbley@av-test.de> 857ac92798bSmrgDate: Mon May 27 09:32:05 2013 +0200 858ac92798bSmrg 859ac92798bSmrg Fix libXpm build with NO_ZPIPE 860ac92798bSmrg 861ac92798bSmrg When NO_ZPIPE is defined, fcntl.h is not included in WrFFrI.c 862ac92798bSmrg although OpenWriteFile uses open, O_WRONLY, O_CREAT and O_TRUNC. 863ac92798bSmrg 864ac92798bSmrg * src/WrFFrI.c: unconditionally include fcntl.h regardless 865ac92798bSmrg of NO_ZPIPE being defined or not. 866ac92798bSmrg 867ac92798bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 868ac92798bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 869ac92798bSmrg 870ac92798bSmrgcommit e439f6e7163e3259f11f3363fa319e8a29085a92 871ac92798bSmrgAuthor: Christophe CURIS <christophe.curis@free.fr> 872ac92798bSmrgDate: Wed May 1 10:39:38 2013 +0200 873ac92798bSmrg 874ac92798bSmrg Added 'const' attribute to all filename arguments in the API 875ac92798bSmrg 876ac92798bSmrg The filename is always a read-only argument, so it is a good idea 877ac92798bSmrg to let the caller now about it. 878ac92798bSmrg 879ac92798bSmrg This patch does not change active code; the place where the attribute 880ac92798bSmrg is added will not break source-level compatibility because it adds 881ac92798bSmrg no restriction on caller side, just adds information; because the 882ac92798bSmrg lib code behaved the same way it will not break the binary interface 883ac92798bSmrg either. 884ac92798bSmrg 885ac92798bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 886ac92798bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 887ac92798bSmrg 888ac92798bSmrgcommit 01ee6b9c500cd9c67f167e68c8383e8c58db5ddf 889ac92798bSmrgAuthor: Christophe CURIS <christophe.curis@free.fr> 890ac92798bSmrgDate: Wed May 1 10:39:37 2013 +0200 891ac92798bSmrg 892ac92798bSmrg Added 'const' qualifier to the filename argument to internal functions 893ac92798bSmrg 894ac92798bSmrg Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> 895ac92798bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 896ac92798bSmrg 897ac92798bSmrgcommit 980e9f851e47d31eed9635a6399a23d1456548d0 898ac92798bSmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 899ac92798bSmrgDate: Mon Apr 22 13:23:09 2013 -0700 900ac92798bSmrg 901ac92798bSmrg Close fd if fdopen() or xpmPipeThrough() fails in OpenWriteFile() 902ac92798bSmrg 903ac92798bSmrg Fixes leak found by parfait 1.1 bug checking tool: 904ac92798bSmrg File Descriptor Leak: Leaked File Descriptor fd 905ac92798bSmrg at line 350 of lib/libXpm/src/WrFFrI.c in function 'OpenWriteFile'. 906ac92798bSmrg fd initialized at line 332 with open 907ac92798bSmrg fd leaks when strcmp(".Z", (filename + (len - 2))) != 0 at line 337 908ac92798bSmrg and strcmp(".gz", (filename + (len - 3))) != 0 at line 340. 909ac92798bSmrg 910ac92798bSmrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 911ac92798bSmrg Reviewed-by: Mark Kettenis <kettenis@openbsd.org> 912ac92798bSmrg 913ac92798bSmrgcommit 81608285e11f2455800001a965dfece878861162 914ac92798bSmrgAuthor: Colin Walters <walters@verbum.org> 915ac92798bSmrgDate: Wed Jan 4 17:37:06 2012 -0500 916ac92798bSmrg 917ac92798bSmrg autogen.sh: Implement GNOME Build API 918ac92798bSmrg 919ac92798bSmrg http://people.gnome.org/~walters/docs/build-api.txt 920ac92798bSmrg 921ac92798bSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 922ac92798bSmrg 923ac92798bSmrgcommit 4c3e0ff63a7c71daaafdcdaa1d619063e0cf4a63 924ac92798bSmrgAuthor: Adam Jackson <ajax@redhat.com> 925ac92798bSmrgDate: Tue Jan 15 14:28:48 2013 -0500 926ac92798bSmrg 927ac92798bSmrg configure: Remove AM_MAINTAINER_MODE 928ac92798bSmrg 929ac92798bSmrg Signed-off-by: Adam Jackson <ajax@redhat.com> 930ac92798bSmrg 931ac92798bSmrgcommit 4ca8014afbb66f0b65cdcd8ea12e469f52c8c70c 932ac92798bSmrgAuthor: Jon TURNEY <jon.turney@dronecode.org.uk> 933ac92798bSmrgDate: Mon Jan 2 22:45:53 2012 +0000 934ac92798bSmrg 935ac92798bSmrg Define NO_ZPIPE when building for MinGW 936ac92798bSmrg 937ac92798bSmrg Define NO_ZPIPE when building for MinGW, decompressing via a pipe isn't implemented. 938ac92798bSmrg (since xpmPipeThrough() is only written in terms of fork() currently...) 939ac92798bSmrg 940ac92798bSmrg Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> 941ac92798bSmrg Reviewed-by: Colin Harrison <colin.harrison@virgin.net> 942ac92798bSmrg Reviewed-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 943ac92798bSmrg Reviewed-by: Ángel González <ingenit@zoho.com> 944ac92798bSmrg 94597cf2ee2Smrgcommit acaaea96776b36c097d5413040c5ce85d3ae6cb9 94697cf2ee2SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 94797cf2ee2SmrgDate: Wed Mar 7 20:39:55 2012 -0800 94897cf2ee2Smrg 94997cf2ee2Smrg libXpm 3.5.10 95097cf2ee2Smrg 95197cf2ee2Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 95297cf2ee2Smrg 95397cf2ee2Smrgcommit 1450186652cb9d2efe55c8da7cb64996eddd34c7 95497cf2ee2SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 95597cf2ee2SmrgDate: Fri Nov 18 23:25:16 2011 -0800 95697cf2ee2Smrg 95797cf2ee2Smrg closeness_cmp: maintain constness when casting pointers 95897cf2ee2Smrg 95997cf2ee2Smrg create.c: In function 'closeness_cmp': 96097cf2ee2Smrg create.c:224:5: warning: cast discards qualifiers from pointer target type 96197cf2ee2Smrg create.c:224:5: warning: cast discards qualifiers from pointer target type 96297cf2ee2Smrg 96397cf2ee2Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 96497cf2ee2Smrg 96597cf2ee2Smrgcommit 7aa7b34491de534da56d637552ee86f94f038cc3 96697cf2ee2SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 96797cf2ee2SmrgDate: Fri Nov 18 23:22:12 2011 -0800 96897cf2ee2Smrg 96997cf2ee2Smrg sxpm: make ErrorMessage take const char * arg to fix -Wwrite-strings warnings 97097cf2ee2Smrg 97197cf2ee2Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 97297cf2ee2Smrg 97397cf2ee2Smrgcommit 4cedf181bcfe13e5d206554c51edb82cb17e7ad5 97497cf2ee2SmrgAuthor: Jeremy Huddleston <jeremyhu@apple.com> 97597cf2ee2SmrgDate: Fri Nov 11 10:17:11 2011 -0800 97697cf2ee2Smrg 97797cf2ee2Smrg Include missing headers 97897cf2ee2Smrg 97997cf2ee2Smrg This fixes implicit declarations for strdup and strcasecmp. 98097cf2ee2Smrg 98197cf2ee2Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> 98297cf2ee2Smrg 98397cf2ee2Smrgcommit 933b5d1f1fe9273d1a984707687b36ec61c4c5af 98497cf2ee2SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 98597cf2ee2SmrgDate: Thu Nov 10 21:32:15 2011 -0800 98697cf2ee2Smrg 98797cf2ee2Smrg Fix gcc -Wwrite-strings warnings that don't require public API changes 98897cf2ee2Smrg 98997cf2ee2Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 99097cf2ee2Smrg 99197cf2ee2Smrgcommit 696be14bcb4daef5280b425e297223c6ae530cb5 99297cf2ee2SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 99397cf2ee2SmrgDate: Thu Nov 10 21:03:44 2011 -0800 99497cf2ee2Smrg 99597cf2ee2Smrg Assume C89 and just use const, not local Const macro 99697cf2ee2Smrg 99797cf2ee2Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 99897cf2ee2Smrg 99997cf2ee2Smrgcommit 29972ebbb2409bcba87637069a7ad9a958b3325d 100097cf2ee2SmrgAuthor: Julien Cristau <jcristau@debian.org> 100197cf2ee2SmrgDate: Sat Sep 24 19:18:56 2011 +0200 100297cf2ee2Smrg 100397cf2ee2Smrg Link sxpm against -lX11 100497cf2ee2Smrg 100597cf2ee2Smrg It calls various Xlib functions so should link with -lX11 directly. 100697cf2ee2Smrg 100797cf2ee2Smrg Signed-off-by: Julien Cristau <jcristau@debian.org> 100897cf2ee2Smrg 100997cf2ee2Smrgcommit 3ea70059805b3ebc795f797b5880b90b6b3a9235 101097cf2ee2SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 101197cf2ee2SmrgDate: Fri Sep 16 22:48:53 2011 -0700 101297cf2ee2Smrg 101397cf2ee2Smrg Strip trailing whitespace 101497cf2ee2Smrg 101597cf2ee2Smrg Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' 101697cf2ee2Smrg git diff -w & git diff -b show no diffs from this change 101797cf2ee2Smrg 101897cf2ee2Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 101997cf2ee2Smrg 102097cf2ee2Smrgcommit 0c9e200c3975917f5d78eac67b1f4cedefd73079 102197cf2ee2SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 102297cf2ee2SmrgDate: Sat Mar 5 20:39:03 2011 -0500 102397cf2ee2Smrg 102497cf2ee2Smrg man: add missing title header (.TH) __xorgversion__ 102597cf2ee2Smrg 102697cf2ee2Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 102797cf2ee2Smrg 102897cf2ee2Smrgcommit 0f8f24302bb0e35eaab16f16358bf9c44f9f3af1 102997cf2ee2SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 103097cf2ee2SmrgDate: Sat Mar 5 15:35:17 2011 -0500 103197cf2ee2Smrg 103297cf2ee2Smrg config: move man pages into their own directory 103397cf2ee2Smrg 103497cf2ee2Smrg As per X.Org guidelines. 103597cf2ee2Smrg Fix whitespace issues. 103697cf2ee2Smrg 103797cf2ee2Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 103897cf2ee2Smrg 103997cf2ee2Smrgcommit 9c622c5fc82f2a19ae41e75398fee4ff1de52a1d 104097cf2ee2SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 104197cf2ee2SmrgDate: Wed Feb 2 11:43:44 2011 -0500 104297cf2ee2Smrg 104397cf2ee2Smrg config: minor layout change in configure.ac 104497cf2ee2Smrg 104597cf2ee2Smrg Group statements per section as per Autoconf standard layout 104697cf2ee2Smrg Quote statements where appropriate. 104797cf2ee2Smrg No functional configuration changes 104897cf2ee2Smrg 104997cf2ee2Smrg This helps automated maintenance and release activities. 105097cf2ee2Smrg Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines 105197cf2ee2Smrg 105297cf2ee2Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 105397cf2ee2Smrg 10546e7d3316Smrgcommit 22a434d061af224536baee6c6110b603c5c96b2c 10556e7d3316SmrgAuthor: Alan Coopersmith <alan.coopersmith@oracle.com> 10566e7d3316SmrgDate: Fri Oct 29 17:29:25 2010 -0700 10576e7d3316Smrg 10586e7d3316Smrg libXpm 3.5.9 10596e7d3316Smrg 10606e7d3316Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 10616e7d3316Smrg 10626e7d3316Smrgcommit c11f1bd18303139f070e1873382632ee80cd9878 10636e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 10646e7d3316SmrgDate: Wed Oct 20 08:30:56 2010 -0400 10656e7d3316Smrg 10666e7d3316Smrg config: remove obsolete FILES file from the Imakefile days 10676e7d3316Smrg 10686e7d3316Smrg It lists the files contained in the original 10696e7d3316Smrg BULL Research Koala Project. 10706e7d3316Smrg 10716e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10726e7d3316Smrg 10736e7d3316Smrgcommit 0ea6c432a068fc4edf90c614e68a4f4be94edd14 10746e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 10756e7d3316SmrgDate: Sun Oct 17 12:51:15 2010 -0400 10766e7d3316Smrg 10776e7d3316Smrg doc: move doc files to the newly created doc dir. 10786e7d3316Smrg 10796e7d3316Smrg As per guidelines for all xorg modules. 10806e7d3316Smrg 10816e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10826e7d3316Smrg 10836e7d3316Smrgcommit 7a3e69cfb079c7345f3d9b1217f373a706ba544c 10846e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 10856e7d3316SmrgDate: Fri Oct 15 17:14:39 2010 -0400 10866e7d3316Smrg 10876e7d3316Smrg config: provide a Makefile for the include directory 10886e7d3316Smrg 10896e7d3316Smrg Reduce some complexity in the src makefile as it should not 10906e7d3316Smrg handle sibling directories. 10916e7d3316Smrg 10926e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 10936e7d3316Smrg 10946e7d3316Smrgcommit e50f645f4cc5bb1db0e025fc6e39c6e84a894c13 10956e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 10966e7d3316SmrgDate: Fri Oct 15 14:56:32 2010 -0400 10976e7d3316Smrg 10986e7d3316Smrg libXpm make: remove redundant -I. 10996e7d3316Smrg 11006e7d3316Smrg It is always included by Automake 11016e7d3316Smrg 11026e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11036e7d3316Smrg 11046e7d3316Smrgcommit 8dee37ff3bb908d597d53f2b335fc2111643cce7 11056e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 11066e7d3316SmrgDate: Sun Oct 24 19:39:54 2010 -0400 11076e7d3316Smrg 11086e7d3316Smrg sxpm make: no need to use a per target LDADD 11096e7d3316Smrg 11106e7d3316Smrg There is only one program in this makefile. 11116e7d3316Smrg 11126e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11136e7d3316Smrg 11146e7d3316Smrgcommit 34abbaaacddf1018d1805bc4890226ab200a50fb 11156e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 11166e7d3316SmrgDate: Fri Oct 15 11:45:58 2010 -0400 11176e7d3316Smrg 11186e7d3316Smrg sxpm make: remove redundant $(XMP_LIBS) linker flags 11196e7d3316Smrg 11206e7d3316Smrg SXPM_LIBS contains the complete list of dependencies. 11216e7d3316Smrg 11226e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11236e7d3316Smrg 11246e7d3316Smrgcommit b818f5cf7f7d8240db2a94ebcc28603730760e48 11256e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 11266e7d3316SmrgDate: Fri Oct 15 10:21:08 2010 -0400 11276e7d3316Smrg 11286e7d3316Smrg src make: remove -I$(top_builddir)/include 11296e7d3316Smrg 11306e7d3316Smrg This directory does not exist, only object code is created 11316e7d3316Smrg in "builddir". 11326e7d3316Smrg 11336e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11346e7d3316Smrg 11356e7d3316Smrgcommit 78bca7e85b930593fefe85cc51b5e24f98de31d0 11366e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 11376e7d3316SmrgDate: Thu Oct 14 21:56:21 2010 -0400 11386e7d3316Smrg 11396e7d3316Smrg config: fix warnings, m4 quoting and layout 11406e7d3316Smrg 11416e7d3316Smrg Fix some m4 quoting 11426e7d3316Smrg Fix some autoconf warnings 11436e7d3316Smrg Regroup statements per section 11446e7d3316Smrg Add comments 11456e7d3316Smrg 11466e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11476e7d3316Smrg 11486e7d3316Smrgcommit 8e47c819490331c01959332e067f06a382d9a14a 11496e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 11506e7d3316SmrgDate: Thu Oct 14 20:35:47 2010 -0400 11516e7d3316Smrg 11526e7d3316Smrg config: AC_OUTPUT with parms is deprecated, use AC_CONFIG_FILES 11536e7d3316Smrg 11546e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11556e7d3316Smrg 11566e7d3316Smrgcommit c6915d034fa3f72a9724816d2e3f5e8432ef9321 11576e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 11586e7d3316SmrgDate: Thu Oct 14 20:33:40 2010 -0400 11596e7d3316Smrg 11606e7d3316Smrg config: AC_HELP_STRING is deprecated, use AS_HELP_STRING 11616e7d3316Smrg 11626e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11636e7d3316Smrg 11646e7d3316Smrgcommit e2fdf80a7f9feedacf67e46a8e577b2e6d415a5f 11656e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 11666e7d3316SmrgDate: Thu Oct 14 20:29:42 2010 -0400 11676e7d3316Smrg 11686e7d3316Smrg config: remove unrequired AC_SUBST(XPM_CFLAGS) 11696e7d3316Smrg 11706e7d3316Smrg This macro is called by PKG_CHECK_MODULES 11716e7d3316Smrg 11726e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11736e7d3316Smrg 11746e7d3316Smrgcommit 937d8c8cf82bd57e82152af3768bdbfc5de4316a 11756e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 11766e7d3316SmrgDate: Thu Oct 14 20:28:43 2010 -0400 11776e7d3316Smrg 11786e7d3316Smrg config: remove AC_PROG_CC as it overrides AC_PROG_C_C99 11796e7d3316Smrg 11806e7d3316Smrg XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls 11816e7d3316Smrg AC_PROG_C_C99. This sets gcc with -std=gnu99. 11826e7d3316Smrg If AC_PROG_CC macro is called afterwards, it resets CC to gcc. 11836e7d3316Smrg 11846e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11856e7d3316Smrg 11866e7d3316Smrgcommit 0ed9cb4546d0c65f08a9511736400c0f7fba982f 11876e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 11886e7d3316SmrgDate: Thu Oct 14 20:28:08 2010 -0400 11896e7d3316Smrg 11906e7d3316Smrg config: remove unrequired AC_HEADER_STDC 11916e7d3316Smrg 11926e7d3316Smrg Autoconf says: 11936e7d3316Smrg "This macro is obsolescent, as current systems have conforming 11946e7d3316Smrg header files. New programs need not use this macro". 11956e7d3316Smrg 11966e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 11976e7d3316Smrg 11986e7d3316Smrgcommit e99bce47294eab031fc733d695e3c9589b52aff8 11996e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 12006e7d3316SmrgDate: Thu Oct 14 20:25:00 2010 -0400 12016e7d3316Smrg 12026e7d3316Smrg config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS 12036e7d3316Smrg 12046e7d3316Smrg Regroup AC statements at the top. 12056e7d3316Smrg 12066e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12076e7d3316Smrg 12086e7d3316Smrgcommit 0b5e15c685d295262bf2307d65bee3a0b28e74f5 12096e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 12106e7d3316SmrgDate: Thu Oct 14 20:15:08 2010 -0400 12116e7d3316Smrg 12126e7d3316Smrg sxpm: use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS 12136e7d3316Smrg The value of MAN_SUBST is the same for all X.Org packages. 12146e7d3316Smrg 12156e7d3316Smrg Use the appropriate platform version of sed 12166e7d3316Smrg 12176e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12186e7d3316Smrg 12196e7d3316Smrgcommit 262bb7e9426150f6c7b553d184c51d3884d04adf 12206e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 12216e7d3316SmrgDate: Thu Oct 14 20:11:43 2010 -0400 12226e7d3316Smrg 12236e7d3316Smrg cxpm: use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS 12246e7d3316Smrg The value of MAN_SUBST is the same for all X.Org packages. 12256e7d3316Smrg 12266e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12276e7d3316Smrg 12286e7d3316Smrgcommit acd4856aac05a884376736196154842959803aa6 12296e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 12306e7d3316SmrgDate: Thu Oct 14 20:03:13 2010 -0400 12316e7d3316Smrg 12326e7d3316Smrg config: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONS 12336e7d3316Smrg 12346e7d3316Smrg It depends on util-macros 1.8 12356e7d3316Smrg The LT_AC_PROG_SED macro was never released by libtool. 12366e7d3316Smrg Neither man makefile actually used $SED anyway. 12376e7d3316Smrg 12386e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12396e7d3316Smrg 12406e7d3316Smrgcommit d1bd1fbc6d7f7b4817aca4fecd8ccfe80a1c2f03 12416e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 12426e7d3316SmrgDate: Thu Oct 14 20:02:30 2010 -0400 12436e7d3316Smrg 12446e7d3316Smrg config: upgrade to util-macros 1.8 for additional man page support 12456e7d3316Smrg 12466e7d3316Smrg Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS 12476e7d3316Smrg The value of MAN_SUBST is the same for all X.Org packages. 12486e7d3316Smrg 12496e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12506e7d3316Smrg 12516e7d3316Smrgcommit 3b20344bf3c5ae7a8291041d4887dc8f23644d40 12526e7d3316SmrgAuthor: Colin Harrison <colin.harrison@virgin.net> 12536e7d3316SmrgDate: Thu Oct 7 13:49:17 2010 +0200 12546e7d3316Smrg 12556e7d3316Smrg Missing end comment in libXpm/src/parse.c 12566e7d3316Smrg 12576e7d3316Smrg CVS tag removal chopped too much out in this case... 12586e7d3316Smrg 12596e7d3316Smrg Signed-off-by: Julien Cristau <jcristau@debian.org> 12606e7d3316Smrg 12616e7d3316Smrgcommit f8f0a68247b920052df0796a39ebcdc2e4161d05 12626e7d3316SmrgAuthor: Jesse Adkins <jesserayadkins@gmail.com> 12636e7d3316SmrgDate: Tue Sep 28 13:30:03 2010 -0700 12646e7d3316Smrg 12656e7d3316Smrg Purge cvs tags. 12666e7d3316Smrg 12676e7d3316Smrg Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com> 12686e7d3316Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> 12696e7d3316Smrg 12706e7d3316Smrgcommit d026662cce0808cf402e0d50932d90984a2ea1bb 12716e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 12726e7d3316SmrgDate: Thu Apr 1 21:11:35 2010 -0400 12736e7d3316Smrg 12746e7d3316Smrg config: update AC_PREREQ statement to 2.60 12756e7d3316Smrg 12766e7d3316Smrg Unrelated to the previous patches, the new value simply reflects 12776e7d3316Smrg the reality that the minimum level for autoconf to configure 12786e7d3316Smrg all x.org modules is 2.60 dated June 2006. 12796e7d3316Smrg 12806e7d3316Smrg ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz 12816e7d3316Smrg 12826e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12836e7d3316Smrg 12846e7d3316Smrgcommit d4a7b15b3ed9e7cf94dbf64f929ae954bada9f60 12856e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 12866e7d3316SmrgDate: Thu Apr 1 21:07:54 2010 -0400 12876e7d3316Smrg 12886e7d3316Smrg config: update and relocate AX_DEFINE_DIR macro 12896e7d3316Smrg 12906e7d3316Smrg Remove deprecated acinclude.m4 macro container file 12916e7d3316Smrg Use separate macro files as per autoconf recommendation 12926e7d3316Smrg Use the latest version of the macro from GNU 12936e7d3316Smrg 12946e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 12956e7d3316Smrg 12966e7d3316Smrgcommit e0920779d1227338e61aaab16458b9daad508c36 12976e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 12986e7d3316SmrgDate: Mon Mar 29 14:53:49 2010 -0400 12996e7d3316Smrg 13006e7d3316Smrg config: remove the pkgconfig pc.in file from EXTRA_DIST 13016e7d3316Smrg 13026e7d3316Smrg Automake always includes it in the tarball. 13036e7d3316Smrg 13046e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13056e7d3316Smrg 13066e7d3316Smrgcommit 34ebac912c6f1223a274ab2e4f0c12928d357ddd 13076e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 13086e7d3316SmrgDate: Thu Jan 14 09:36:38 2010 -0500 13096e7d3316Smrg 13106e7d3316Smrg COPYING: add missing copyright notices 13116e7d3316Smrg 13126e7d3316Smrg Refer to: amigax.c, cxpm.c 13136e7d3316Smrg Copyright (C) 1998 Arnaud LE HORS 13146e7d3316Smrg Copyright (C) 19896 Lorens Younes 13156e7d3316Smrg 13166e7d3316Smrg Signed-off-by: Gaetan Nadon <memsize@videotron.ca> 13176e7d3316Smrg 13186e7d3316Smrgcommit dca7a9ccbdd4c85d84668c3a4bc14b0049f0c893 13196e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 13206e7d3316SmrgDate: Fri Nov 27 20:56:04 2009 -0500 13216e7d3316Smrg 13226e7d3316Smrg Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES 13236e7d3316Smrg 13246e7d3316Smrg Now that the INSTALL file is generated. 13256e7d3316Smrg Allows running make maintainer-clean. 13266e7d3316Smrg 13276e7d3316Smrgcommit af0d92b686c65f7ffb5556b74fd937b01719c535 13286e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 13296e7d3316SmrgDate: Wed Oct 28 14:09:10 2009 -0400 13306e7d3316Smrg 13316e7d3316Smrg INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 13326e7d3316Smrg 13336e7d3316Smrg Add missing INSTALL file. Use standard GNU file on building tarball 13346e7d3316Smrg README may have been updated 13356e7d3316Smrg Remove AUTHORS file as it is empty and no content available yet. 13366e7d3316Smrg Remove NEWS file as it is empty and no content available yet. 13376e7d3316Smrg 13386e7d3316Smrgcommit 8bda9cdb6344c6cdf87237cb84c16c54a3ae84d8 13396e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 13406e7d3316SmrgDate: Tue Oct 27 15:07:25 2009 -0400 13416e7d3316Smrg 13426e7d3316Smrg Deploy the new XORG_DEFAULT_OPTIONS #24242 13436e7d3316Smrg 13446e7d3316Smrg This macro aggregate a number of existing macros that sets commmon 13456e7d3316Smrg X.Org components configuration options. It shields the configuration file from 13466e7d3316Smrg future changes. 13476e7d3316Smrg 13486e7d3316Smrgcommit 089237b624722b141a9ba6888584ebcc5247b227 13496e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 13506e7d3316SmrgDate: Mon Oct 26 22:08:43 2009 -0400 13516e7d3316Smrg 13526e7d3316Smrg Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 13536e7d3316Smrg 13546e7d3316Smrg ChangeLog filename is known to Automake and requires no further 13556e7d3316Smrg coding in the makefile. 13566e7d3316Smrg 13576e7d3316Smrgcommit 37e75b28f4d30a66e16cfe192a0612a335aa8d46 13586e7d3316SmrgAuthor: Gaetan Nadon <memsize@videotron.ca> 13596e7d3316SmrgDate: Thu Oct 22 12:34:19 2009 -0400 13606e7d3316Smrg 13616e7d3316Smrg .gitignore: use common defaults with custom section # 24239 13626e7d3316Smrg 13636e7d3316Smrg Using common defaults will reduce errors and maintenance. 13646e7d3316Smrg Only the very small or inexistent custom section need periodic maintenance 13656e7d3316Smrg when the structure of the component changes. Do not edit defaults. 13666e7d3316Smrg 13676e7d3316Smrgcommit 68ae0e442ad57534c25566284ad049299a982d00 13686e7d3316SmrgAuthor: Jeremy Huddleston <jeremyhu@freedesktop.org> 13696e7d3316SmrgDate: Wed Oct 21 12:47:25 2009 -0700 13706e7d3316Smrg 13716e7d3316Smrg This is not a GNU project, so declare it foreign. 13726e7d3316Smrg 13736e7d3316Smrg On Wed, 2009-10-21 at 13:36 +1000, Peter Hutterer wrote: 13746e7d3316Smrg > On Tue, Oct 20, 2009 at 08:23:55PM -0700, Jeremy Huddleston wrote: 13756e7d3316Smrg > > I noticed an INSTALL file in xlsclients and libXvMC today, and it 13766e7d3316Smrg > > was quite annoying to work around since 'autoreconf -fvi' replaces 13776e7d3316Smrg > > it and git wants to commit it. Should these files even be in git? 13786e7d3316Smrg > > Can I nuke them for the betterment of humanity and since they get 13796e7d3316Smrg > > created by autoreconf anyways? 13806e7d3316Smrg > 13816e7d3316Smrg > See https://bugs.freedesktop.org/show_bug.cgi?id=24206 13826e7d3316Smrg 13836e7d3316Smrg As an interim measure, replace AM_INIT_AUTOMAKE([dist-bzip2]) with 13846e7d3316Smrg AM_INIT_AUTOMAKE([foreign dist-bzip2]). This will prevent the generation 13856e7d3316Smrg of the INSTALL file. It is also part of the 24206 solution. 13866e7d3316Smrg 13876e7d3316Smrg Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org> 13886e7d3316Smrg 13892e2dd055Smrgcommit 130b2fb0ea716143c63ba30856eecb351bc2af2a 13902e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 13912e2dd055SmrgDate: Fri Oct 9 10:32:08 2009 -0700 1392a966c04fSmrg 13932e2dd055Smrg libXpm 3.5.8 13942e2dd055Smrg 13952e2dd055Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 1396a966c04fSmrg 13972e2dd055Smrgcommit a195bd6d375c311b9bf6d7cce477f1d131425757 13982e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 13992e2dd055SmrgDate: Thu Oct 8 21:29:45 2009 -0700 1400a966c04fSmrg 14012e2dd055Smrg Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS 14022e2dd055Smrg 14032e2dd055Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 1404a966c04fSmrg 14052e2dd055Smrgcommit f4c43f70dff3cb9702fd62bc388353d02589e618 14062e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 14072e2dd055SmrgDate: Thu Oct 8 20:27:49 2009 -0700 1408a966c04fSmrg 14092e2dd055Smrg Replace AC_DEFINE_DIR with AX_DEFINE_DIR from Autoconf Archive 1410a966c04fSmrg 14112e2dd055Smrgcommit d846316822ba8eb545d41140007ef98a7de9274e 14122e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 14132e2dd055SmrgDate: Tue May 19 01:34:19 2009 -0700 1414a966c04fSmrg 14152e2dd055Smrg Update AC_DEFINE_DIR to latest version from Autoconf Archive 1416a966c04fSmrg 14172e2dd055Smrgcommit 53f8b42f89214b85804ae9e64c49d1a9c2a7553d 14182e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 14192e2dd055SmrgDate: Mon Feb 2 20:34:35 2009 -0800 1420a966c04fSmrg 14212e2dd055Smrg Add README with pointers to mailing list, bugzilla & git repos 14222e2dd055Smrg 14232e2dd055Smrg Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 1424a966c04fSmrg 14252e2dd055Smrgcommit 6697e31fbb616656b7f34515a79454af394b500a 14262e2dd055SmrgAuthor: Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> 14272e2dd055SmrgDate: Fri Jan 30 15:45:20 2009 -0200 1428a966c04fSmrg 14292e2dd055Smrg Janitor: ansification, make distcheck, .gitignore 14302e2dd055Smrg 14312e2dd055Smrg The ansification code is minor edit of the patch (by me) at 14322e2dd055Smrg https://bugs.freedesktop.org/show_bug.cgi?id=14727 14332e2dd055Smrg as it would not apply cleanly anymore. 1434a966c04fSmrg 14352e2dd055Smrgcommit 41e4e2de4d73d098d332ece0410e9f8fda4fe10d 14362e2dd055SmrgAuthor: Peter Breitenlohner <peb@mppmu.mpg.de> 14372e2dd055SmrgDate: Mon Oct 20 19:36:52 2008 -0700 1438a966c04fSmrg 14392e2dd055Smrg X.Org Bug 17944: avoid gcc warning for libXpm 14402e2dd055Smrg 14412e2dd055Smrg <http://bugs.freedesktop.org/show_bug.cgi?id=17944> 14422e2dd055Smrg 14432e2dd055Smrg Avoid the gcc warning 14442e2dd055Smrg cxpm/cxpm.c:102: warning: no previous prototype for 'ErrorMessage' 1445a966c04fSmrg 14462e2dd055Smrgcommit 64323668c07b4768c57649f5ec7e2888265d1aeb 14472e2dd055SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 14482e2dd055SmrgDate: Sun Mar 9 08:57:47 2008 +0100 1449a966c04fSmrg 14502e2dd055Smrg nuke RCS Ids 1451a966c04fSmrg 14522e2dd055Smrgcommit 6ef45c37160079a9aa551adcd841abdb55eabae3 14532e2dd055SmrgAuthor: Benjamin Close <Benjamin.Close@clearchain.com> 14542e2dd055SmrgDate: Thu Jan 31 14:42:41 2008 +1030 1455a966c04fSmrg 14562e2dd055Smrg Use libtools SED check rather than autoconf's SED check. 14572e2dd055Smrg AC_PROG_SED required autoconf 2.60, libtool's should work 14582e2dd055Smrg regardless. This keeps us supporting 2.57 of autoconf 14592e2dd055Smrg 14602e2dd055Smrg Found by: Tinderbox (1.4.1 compile) 1461a966c04fSmrg 14622e2dd055Smrgcommit 3f7624048aa6064c69e2320a70fb7fc89e0bb7ef 14632e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 14642e2dd055SmrgDate: Thu Jan 24 14:26:34 2008 -0800 1465a966c04fSmrg 14662e2dd055Smrg Bug 14171: sxpm/Makefile.am:21: SED was already defined 14672e2dd055Smrg 14682e2dd055Smrg <http://bugs.freedesktop.org/show_bug.cgi?id=14171> 1469a966c04fSmrg 14702e2dd055Smrgcommit 503843fd3066031adbd4a362c686acc721787b7d 14712e2dd055SmrgAuthor: James Cloos <cloos@jhcloos.com> 14722e2dd055SmrgDate: Thu Dec 6 16:38:36 2007 -0500 1473a966c04fSmrg 14742e2dd055Smrg Replace static ChangeLog with dist-hook to generate from git log 1475a966c04fSmrg 14762e2dd055Smrgcommit 3e37dd39b6169af9928d5b959c40ba79a07450ee 14772e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 14782e2dd055SmrgDate: Wed Aug 22 13:23:30 2007 -0700 1479a966c04fSmrg 14802e2dd055Smrg Version bump: 3.5.7 1481a966c04fSmrg 14822e2dd055Smrgcommit d82244497b54889f91c78585374d1ad6a0cef2cf 14832e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 14842e2dd055SmrgDate: Wed Aug 22 13:08:42 2007 -0700 1485a966c04fSmrg 14862e2dd055Smrg Replace strcpy with strncpy to match previous code block 1487a966c04fSmrg 14882e2dd055Smrgcommit 47c974872b51b8c1d6965eff4599f8ce739bcedc 14892e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 14902e2dd055SmrgDate: Mon Aug 6 14:22:48 2007 -0700 1491a966c04fSmrg 14922e2dd055Smrg Use srcdir in paths passed to xgettext when making .po files 1493a966c04fSmrg 14942e2dd055Smrgcommit 6e003fd5f174a8e312d799d7f8812c2a5b87e433 14952e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 14962e2dd055SmrgDate: Mon Aug 6 12:59:04 2007 -0700 1497a966c04fSmrg 14982e2dd055Smrg Replace index/rindex with C89 standard strchr/strrchr 1499a966c04fSmrg 15002e2dd055Smrgcommit 43dfc6be8128139888426d8c709aa78efc207953 15012e2dd055SmrgAuthor: Jason Rumney <jasonr@gnu.org> 15022e2dd055SmrgDate: Mon Aug 6 12:52:52 2007 -0700 15032e2dd055Smrg 15042e2dd055Smrg X.Org Bug #11863: Build libXpm on MS Windows (with MinGW) 15052e2dd055Smrg 15062e2dd055Smrg * src/XpmI.h [FOR_MSW]: Include simx.h instead of real X headers. 15072e2dd055Smrg 15082e2dd055Smrg * src/simx.h (_XFUNCPROTOBEGIN, _XFUNCPROTOEND, NO_ZPIPE): Define. 15092e2dd055Smrg (XAllocColor): Fix arg list in prototype. 15102e2dd055Smrg (bzero, close, fdopen, index, rindex, open, strdup, O_RDONLY): 15112e2dd055Smrg Map to W32 equivalents. 15122e2dd055Smrg 15132e2dd055Smrg * src/RdFToI.c [FOR_MSW]: Include fcntl.h. 15142e2dd055Smrg 15152e2dd055Smrgcommit 290f0b9115428dab0cbf2880d154468c557b3e7e 15162e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 15172e2dd055SmrgDate: Wed Jul 25 17:45:15 2007 -0700 15182e2dd055Smrg 15192e2dd055Smrg Include comment/copyright/license for AC_DEFINE_DIR in acinclude.m4 15202e2dd055Smrg 15212e2dd055Smrgcommit d4bc7dc0dea218cea380aba972f10f60dc1e86ac 15222e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 15232e2dd055SmrgDate: Wed Jun 27 13:54:07 2007 -0700 15242e2dd055Smrg 15252e2dd055Smrg Use AM_CFLAGS & AM_CPPFLAGS to replace per-program and obsolete macros 15262e2dd055Smrg 15272e2dd055Smrg Clears some warnings from automake-1.10 15282e2dd055Smrg 15292e2dd055Smrgcommit 85a87de3c03ca8be526dedc0a2973f9426518c39 15302e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 15312e2dd055SmrgDate: Tue Nov 21 17:12:18 2006 -0800 15322e2dd055Smrg 15332e2dd055Smrg Sun bug 4486226: Xpm is not internationalized 15342e2dd055Smrg 15352e2dd055Smrg <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4486226> 15362e2dd055Smrg Use gettext() to allow translated messages in sxpm & cxpm 15372e2dd055Smrg (cherry picked from bcda4f17ab3fa9f0572f876dbeb09b45fbc23f3d commit) 15382e2dd055Smrg 15392e2dd055Smrgcommit 3c881daddcc251d6e806715d267e4e55934abd1a 15402e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 15412e2dd055SmrgDate: Tue Nov 21 15:13:44 2006 -0800 15422e2dd055Smrg 15432e2dd055Smrg Add *~ to .gitignore to skip over emacs/patch droppings 15442e2dd055Smrg 15452e2dd055Smrgcommit 60817dd28774540622ea404f650db8389c66da54 15462e2dd055SmrgAuthor: Adam Jackson <ajax@benzedrine.nwnk.net> 15472e2dd055SmrgDate: Fri Oct 13 16:23:49 2006 -0400 15482e2dd055Smrg 15492e2dd055Smrg Bump to 3.5.6 15502e2dd055Smrg 15512e2dd055Smrgcommit 12dc4dc15234ae818a21c20ebf7b2d053b7a94be 15522e2dd055SmrgAuthor: Alan Coopersmith <alan.coopersmith@sun.com> 15532e2dd055SmrgDate: Thu Jul 13 14:59:03 2006 -0700 15542e2dd055Smrg 15552e2dd055Smrg renamed: .cvsignore -> .gitignore 15562e2dd055Smrg 15572e2dd055Smrgcommit 4daea919c3aa104b6caf8c0f42f49ae755545986 15582e2dd055SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 15592e2dd055SmrgDate: Sat Jun 3 06:11:30 2006 +0000 15602e2dd055Smrg 15612e2dd055Smrg Always initialize atomTable to NULL, so xpmHashTableFree() doesn't try to 15622e2dd055Smrg free a random value from the stack if xpmHashTableInit returns an 15632e2dd055Smrg error. 15642e2dd055Smrg 15652e2dd055Smrgcommit 19855d6e09aa36db7686ad6f538179bf87e9c6ea 15662e2dd055SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 15672e2dd055SmrgDate: Fri Jun 2 19:48:01 2006 +0000 15682e2dd055Smrg 15692e2dd055Smrg Coverity #1432: Returned without freeing storage "hints_cmt" (in error case 15702e2dd055Smrg when xpmHashTableInit failed) 15712e2dd055Smrg 15722e2dd055Smrgcommit 000abcd371d0c4b1d0a5380023d74bf5bfc47685 15732e2dd055SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 15742e2dd055SmrgDate: Fri Jun 2 19:33:29 2006 +0000 15752e2dd055Smrg 15762e2dd055Smrg Coverity #1415: Returned without freeing storage "hints_cmt" (in error case 15772e2dd055Smrg when xpmHashTableInit failed) 15782e2dd055Smrg 15792e2dd055Smrgcommit 5c70c99833d4040aaf595d0005b861e0a930ee66 15802e2dd055SmrgAuthor: Adam Jackson <ajax@nwnk.net> 15812e2dd055SmrgDate: Thu Apr 27 00:19:37 2006 +0000 15822e2dd055Smrg 15832e2dd055Smrg Bump to 3.5.5 15842e2dd055Smrg 15852e2dd055Smrgcommit 2dcc187c92c1a579e6e9f0bad999a3b4e47228c3 15862e2dd055SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 15872e2dd055SmrgDate: Sat Mar 18 15:18:56 2006 +0000 15882e2dd055Smrg 15892e2dd055Smrg doublecheck that a pointer is not NULL before dereferencing it. (Coverity 15902e2dd055Smrg CID 121). 15912e2dd055Smrg 15922e2dd055Smrgcommit 93421a53ccf159ff39bc9f8ff72c57246f9cb90c 15932e2dd055SmrgAuthor: Kevin E Martin <kem@kem.org> 15942e2dd055SmrgDate: Thu Dec 15 00:24:31 2005 +0000 15952e2dd055Smrg 15962e2dd055Smrg Update package version number for final X11R7 release candidate. 15972e2dd055Smrg 15982e2dd055Smrgcommit 2b229ddcb52a3bf9bef32e764f93cc57c1351420 15992e2dd055SmrgAuthor: Kevin E Martin <kem@kem.org> 16002e2dd055SmrgDate: Tue Dec 6 22:48:44 2005 +0000 16012e2dd055Smrg 16022e2dd055Smrg Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 16032e2dd055Smrg 16042e2dd055Smrgcommit 50214deb692a9af760088f8e7a51955c7d3f1707 16052e2dd055SmrgAuthor: Kevin E Martin <kem@kem.org> 16062e2dd055SmrgDate: Sat Dec 3 05:49:44 2005 +0000 16072e2dd055Smrg 16082e2dd055Smrg Update package version number for X11R7 RC3 release. 16092e2dd055Smrg 16102e2dd055Smrgcommit 19881d3c88ff0713ef550382fd0dfb03123dabed 16112e2dd055SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 16122e2dd055SmrgDate: Mon Nov 28 22:03:06 2005 +0000 16132e2dd055Smrg 16142e2dd055Smrg Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4 16152e2dd055Smrg update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir) 16162e2dd055Smrg 16172e2dd055Smrgcommit a6fbdb403efd3bf7e1179660959fd0e66a301ce0 16182e2dd055SmrgAuthor: Kevin E Martin <kem@kem.org> 16192e2dd055SmrgDate: Sat Nov 19 07:15:42 2005 +0000 16202e2dd055Smrg 16212e2dd055Smrg Update pkgconfig files to separate library build-time dependencies from 16222e2dd055Smrg application build-time dependencies, and update package deps to work 16232e2dd055Smrg with separate build roots. 16242e2dd055Smrg 16252e2dd055Smrgcommit 82513d04a8381da8d2281d7581f6b0d65901aede 16262e2dd055SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 16272e2dd055SmrgDate: Sun Nov 13 02:08:07 2005 +0000 16282e2dd055Smrg 16292e2dd055Smrg Use sed to substitute variables in man pages 16302e2dd055Smrg 16312e2dd055Smrgcommit d1b430289b2ddb6c1f3383c5288aa125b058508a 16322e2dd055SmrgAuthor: Kevin E Martin <kem@kem.org> 16332e2dd055SmrgDate: Wed Nov 9 21:19:13 2005 +0000 16342e2dd055Smrg 16352e2dd055Smrg Update package version number for X11R7 RC2 release. 16362e2dd055Smrg 16372e2dd055Smrgcommit e2c9276ccc1ef619dcfbdeb414ef0dec5113c1ee 16382e2dd055SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 16392e2dd055SmrgDate: Sat Oct 29 02:26:49 2005 +0000 16402e2dd055Smrg 16412e2dd055Smrg Add --enable-stat-zfile (on by default) to replace Imake's ZFILEDEF = 16422e2dd055Smrg -DSTAT_ZFILE to enable automatically searching for file.xpm.Z & 16432e2dd055Smrg file.xpm.gz when file.xpm is requested. 16442e2dd055Smrg 16452e2dd055Smrgcommit 2f57ab95012d9221cca1af6c0a1ccea5d308c66f 16462e2dd055SmrgAuthor: Kevin E Martin <kem@kem.org> 16472e2dd055SmrgDate: Wed Oct 19 02:48:11 2005 +0000 16482e2dd055Smrg 16492e2dd055Smrg Update package version number for RC1 release. 16502e2dd055Smrg 16512e2dd055Smrgcommit 72bf88ed120fb888c57ed3223faa316403031b36 16522e2dd055SmrgAuthor: Kevin E Martin <kem@kem.org> 16532e2dd055SmrgDate: Wed Oct 5 20:24:14 2005 +0000 16542e2dd055Smrg 16552e2dd055Smrg Add missing files to EXTRA_DIST 16562e2dd055Smrg Fix man page installation 16572e2dd055Smrg 16582e2dd055Smrgcommit 08c43c5f1f851c1acad360a28767670dc62d8a66 16592e2dd055SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 16602e2dd055SmrgDate: Mon Oct 3 19:53:58 2005 +0000 16612e2dd055Smrg 16622e2dd055Smrg Last argument of variable parameter list needs to be casted to a pointer 16632e2dd055Smrg type. 16642e2dd055Smrg 16652e2dd055Smrgcommit 5ecad7c12c3104d653972385f548e3f86532cbe3 16662e2dd055SmrgAuthor: Kevin E Martin <kem@kem.org> 16672e2dd055SmrgDate: Fri Jul 29 21:22:52 2005 +0000 16682e2dd055Smrg 16692e2dd055Smrg Various changes preparing packages for RC0: 16702e2dd055Smrg - Verify and update package version numbers as needed 16712e2dd055Smrg - Implement versioning scheme 16722e2dd055Smrg - Change bug address to point to bugzilla bug entry form 16732e2dd055Smrg - Disable loadable i18n in libX11 by default (use --enable-loadable-i18n to 16742e2dd055Smrg reenable it) 16752e2dd055Smrg - Fix makedepend to use pkgconfig and pass distcheck 16762e2dd055Smrg - Update build script to build macros first 16772e2dd055Smrg - Update modular Xorg version 16782e2dd055Smrg 16792e2dd055Smrgcommit 703207d3b3718223d4b2711fb77fc96a4f3909ef 16802e2dd055SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 16812e2dd055SmrgDate: Sun Jul 17 10:32:57 2005 +0000 16822e2dd055Smrg 16832e2dd055Smrg fix build outside of $(srcdir) 16842e2dd055Smrg 16852e2dd055Smrgcommit 5a0177d4474787951c0cae56e285bb075ab405f3 16862e2dd055SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 16872e2dd055SmrgDate: Sat Jul 16 21:11:25 2005 +0000 16882e2dd055Smrg 16892e2dd055Smrg Accept autoconf HAVE_STRLCPY as alias for HAS_STRLCAT 16902e2dd055Smrg 16912e2dd055Smrgcommit fd38ee667976855150d3c1231a1acc2cf1a89330 16922e2dd055SmrgAuthor: Alan Coopersmith <Alan.Coopersmith@sun.com> 16932e2dd055SmrgDate: Sat Jul 16 21:10:44 2005 +0000 16942e2dd055Smrg 16952e2dd055Smrg Check for strlcat() for use in parse.c 16962e2dd055Smrg 16972e2dd055Smrgcommit 9b3eed6e4f7ee542149ecec0d017a3a460f7c084 16982e2dd055SmrgAuthor: Daniel Stone <daniel@fooishbar.org> 16992e2dd055SmrgDate: Sat Jul 16 07:23:39 2005 +0000 17002e2dd055Smrg 17012e2dd055Smrg Set soversion to 4.11.0 with -version-number. 17022e2dd055Smrg 17032e2dd055Smrgcommit a705a1cd9dc4c4ba1940c9b59d2107ba59360e39 17042e2dd055SmrgAuthor: Keith Packard <keithp@keithp.com> 17052e2dd055SmrgDate: Sat Jul 9 06:45:44 2005 +0000 17062e2dd055Smrg 17072e2dd055Smrg Add .cvsignore files 17082e2dd055Smrg 17092e2dd055Smrgcommit b1d84a9fc9b15232c09b6ce5d96c097fdd4f0a15 17102e2dd055SmrgAuthor: Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> 17112e2dd055SmrgDate: Thu Jun 9 13:42:36 2005 +0000 17122e2dd055Smrg 17132e2dd055Smrg Use $(top_srcdir)/src instead of $(top_builddir)/src in INCLUDES 17142e2dd055Smrg 17152e2dd055Smrgcommit 769751fba3e32f49272d19799929e1ad5a3d2cd0 171674835918SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 17172e2dd055SmrgDate: Thu May 19 17:09:13 2005 +0000 17182e2dd055Smrg 17192e2dd055Smrg Add $(top_builddir)/include to INCLUDES 17202e2dd055Smrg 17212e2dd055Smrgcommit 2cc1896c61eef5739bb6a8ffa89e58ba5c175a05 172274835918SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 17232e2dd055SmrgDate: Thu May 19 15:02:48 2005 +0000 17242e2dd055Smrg 17252e2dd055Smrg - Add build system for lib/Xpm 17262e2dd055Smrg - Add Xpm to symlink.sh 17272e2dd055Smrg - Conditionally include config.h in xc/extras/Xpm 17282e2dd055Smrg 17292e2dd055Smrgcommit cf0d69c7ace679f27f105c582760b9be14923aba 173074835918SmrgAuthor: Søren Sandmann Pedersen <sandmann@daimi.au.dk> 17312e2dd055SmrgDate: Thu May 19 14:37:53 2005 +0000 17322e2dd055Smrg 17332e2dd055Smrg Thu May 19 10:36:54 2005 Søren Sandmann <sandmann@redhat.com> 17342e2dd055Smrg Add "../lib" to INCLUDES. 17352e2dd055Smrg Replace #include "../lib/foo" with #include "foo". 17362e2dd055Smrg 17372e2dd055Smrgcommit 639b3598cd0e7214010248efb62b75ef85a8e5c5 17382e2dd055SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 17392e2dd055SmrgDate: Mon Feb 21 20:52:32 2005 +0000 17402e2dd055Smrg 17412e2dd055Smrg Avoid inifite loops. From Chris Gilbert in bug #1920. 17422e2dd055Smrg 17432e2dd055Smrgcommit f1908d7ee5e2d2d44db2116b3c88213da9dfb854 17442e2dd055SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 17452e2dd055SmrgDate: Sat Dec 11 16:14:05 2004 +0000 17462e2dd055Smrg 17472e2dd055Smrg Fix incomplete merge. 17482e2dd055Smrg 17492e2dd055Smrgcommit b041980732f6a6002001cfe079fdfb982937d4a8 17502e2dd055SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 17512e2dd055SmrgDate: Sat Dec 11 16:08:59 2004 +0000 17522e2dd055Smrg 17532e2dd055Smrg more s_open() cleanup. 17542e2dd055Smrg 17552e2dd055Smrgcommit 90d0638a42553786f54df333f0da4d008e9a0573 17562e2dd055SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 17572e2dd055SmrgDate: Sat Dec 11 16:04:34 2004 +0000 17582e2dd055Smrg 17592e2dd055Smrg Replace s_popen() by a more specific function that allows only one command 17602e2dd055Smrg in the pipe. Remove extraneous tests on file names that broke some 17612e2dd055Smrg applications. From Alex Reisen in Bugzilla #1920. 17622e2dd055Smrg 17632e2dd055Smrgcommit 2c23dbf2cafaad72b1f45da915eb87a8f792fdb0 17642e2dd055SmrgAuthor: Roland Mainz <roland.mainz@nrubsig.org> 17652e2dd055SmrgDate: Wed Dec 8 01:16:48 2004 +0000 17662e2dd055Smrg 17672e2dd055Smrg //bugs.freedesktop.org/show_bug.cgi?id=830): Fix libXpm header (xpm.h) to 17682e2dd055Smrg use the X11 function begin/end marker macros (_XFUNCPROTOBEGIN, 17692e2dd055Smrg _XFUNCPROTOEND) instead of homegrown (native) C++ code. Patch by Kevin 17702e2dd055Smrg DeKorte <kdekorte@yahoo.com>. 17712e2dd055Smrg 17722e2dd055Smrgcommit 50986a34f231fbc7a4b62466bd89bd4ae4027d2e 17732e2dd055SmrgAuthor: Matthieu Herrb <matthieu.herrb@laas.fr> 17742e2dd055SmrgDate: Thu Nov 25 21:19:11 2004 +0000 17752e2dd055Smrg 17762e2dd055Smrg Fixes for CAN-2004-0914 (Thomas Biege). 17772e2dd055Smrg 17782e2dd055Smrgcommit a983dafac59dcb425666a5a5556da4734e50c6c5 17792e2dd055SmrgAuthor: Egbert Eich <eich@suse.de> 17802e2dd055SmrgDate: Tue Sep 21 17:57:35 2004 +0000 17812e2dd055Smrg 17822e2dd055Smrg Merged over libXpm security fix provided by Chris Evans, Matthieu Herrb and 17832e2dd055Smrg Alan Coopersmith from release 6.8.1. 17842e2dd055Smrg Fail during initialization with error if font/fontset is not set for 17852e2dd055Smrg widget. This prevents a sig11 later when the non-existent font/fontset 17862e2dd055Smrg structs are referenced. 17872e2dd055Smrg Check if xf86Info.kbdProc pointer is really set before calling it on abort 17882e2dd055Smrg as this pointer won't be set if the new modular keyboard driver is used 17892e2dd055Smrg (Matthias Hopf). 17902e2dd055Smrg Added new libs to the bindist control files. 17912e2dd055Smrg Removed inclusion of unnecessary kernel header on Linux. This may fail in 17922e2dd055Smrg an -ansi environment. 17932e2dd055Smrg 179452dc082bSmrgNotes: 179552dc082bSmrg Fixes CVE-2004-0687 (integer overflows) and CVE-2004-0688 (stack overflows) 179652dc082bSmrg 17972e2dd055Smrgcommit 2773a7214e282f6f673483f5233b880505947c3f 17982e2dd055SmrgAuthor: Egbert Eich <eich@suse.de> 17992e2dd055SmrgDate: Fri Apr 23 18:42:32 2004 +0000 18002e2dd055Smrg 18012e2dd055Smrg Merging XORG-CURRENT into trunk 18022e2dd055Smrg 18032e2dd055Smrgcommit 65c64a2eaa8698434f1869dcdcb5d9ccb21c6932 18042e2dd055SmrgAuthor: Egbert Eich <eich@suse.de> 18052e2dd055SmrgDate: Sun Mar 14 08:28:26 2004 +0000 18062e2dd055Smrg 18072e2dd055Smrg Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 18082e2dd055Smrg 18092e2dd055Smrgcommit 0b313707a677523fed9ac485445e8b09d2a85c13 18102e2dd055SmrgAuthor: Egbert Eich <eich@suse.de> 18112e2dd055SmrgDate: Wed Mar 3 12:09:53 2004 +0000 18122e2dd055Smrg 18132e2dd055Smrg Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 18142e2dd055Smrg 18152e2dd055Smrgcommit 658f8e9a9094ba5d18743694cad7275be53c7a25 18162e2dd055SmrgAuthor: Egbert Eich <eich@suse.de> 18172e2dd055SmrgDate: Thu Feb 26 13:34:33 2004 +0000 18182e2dd055Smrg 18192e2dd055Smrg readding XFree86's cvs IDs 18202e2dd055Smrg 18212e2dd055Smrgcommit 9971f91864e8f722b42c58f2ff19025715f33b98 18222e2dd055SmrgAuthor: Egbert Eich <eich@suse.de> 18232e2dd055SmrgDate: Thu Feb 26 09:21:31 2004 +0000 18242e2dd055Smrg 18252e2dd055Smrg Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 18262e2dd055Smrg 18272e2dd055Smrgcommit fbfe965054d8144946651b19085684af7f6715b9 18282e2dd055SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 18292e2dd055SmrgDate: Tue Nov 25 19:27:16 2003 +0000 18302e2dd055Smrg 18312e2dd055Smrg XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks 18322e2dd055Smrg 18332e2dd055Smrgcommit c037348b5df0ac94ad4daba59f8bc9acf12ef623 18342e2dd055SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 18352e2dd055SmrgDate: Fri Nov 14 16:48:24 2003 +0000 18362e2dd055Smrg 18372e2dd055Smrg XFree86 4.3.0.1 18382e2dd055Smrg 18392e2dd055Smrgcommit aafaabc4a0bfab6544e085ee504ad69de4a5ddb1 18402e2dd055SmrgAuthor: Kaleb Keithley <kaleb@freedesktop.org> 18412e2dd055SmrgDate: Fri Nov 14 16:48:24 2003 +0000 18422e2dd055Smrg 18432e2dd055Smrg Initial revision 1844