From: Tony Cook Date: Tue, 7 Dec 2004 13:40:12 +0000 (+0000) Subject: update information about giflib bugs X-Git-Tag: Imager-0.48^2~271 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/f1967c119802b31fd386b059bec520c4bdfabc69 update information about giflib bugs --- diff --git a/Changes b/Changes index e0a7032e..0db18adb 100644 --- a/Changes +++ b/Changes @@ -940,6 +940,8 @@ Revision history for Perl extension Imager. to test/debug for 0.44. - image.h had no prototype for i_ft2_bbox_r() and it was being called from Imager.xs +- giflib 4.1.3 still doesn't have all the bugs fixed, update the notes + in README and in the buggy_giflib.txt file that t105gif.t produces ================================================================= diff --git a/Makefile.PL b/Makefile.PL index 25c26951..81a56d89 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -153,7 +153,11 @@ bugs. Imager can crash or display other strange behaviour after reading or writing gif images. Some of the gif tests can even fail since they stress some parts of the buggy code. -libungif 4.1.2 and later is safe. +libungif 4.1.2 and later is safe. giflib 4.1.3 needs at least one +patch to have all the bugs fixed, see README for details. + +Of course it's possible your operating system distributor has patched +all of these problems and you have nothing to worry about. Do you want to remove gif support? [Y/n] EOFF diff --git a/README b/README index 38c56b5f..d2e62614 100644 --- a/README +++ b/README @@ -147,10 +147,17 @@ potential security problem. giflib/libungif has come a long way since the buggy versions around when Imager's gif support code was written. Preferably you should get -at least version 4.1.2. If you have a recent Linux distribution you +at least version 4.1.3. If you have a recent Linux distribution you should be safe with whatever giflib it provides, but if you're building from source, please try to use the latest version. +If you download giflib (as opposed to libungif) 4.1.3 from +sourceforge, make sure you apply the patch referenced at: + +https://sourceforge.net/tracker/index.php?func=detail&aid=981255&group_id=102202&atid=631306 + +libungif 4.1.3 does not need this patch. + At the time of writing you will need to manually select to install the 4.1.2-1 of cygwin's libungif package. diff --git a/t/t105gif.t b/t/t105gif.t index 0f13a148..0d514c6b 100644 --- a/t/t105gif.t +++ b/t/t105gif.t @@ -209,8 +209,8 @@ ENDOFCODE print FLAG <