diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2015-07-02 17:25:15 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-07-02 17:25:15 +0200 |
commit | 595d2593963dfc33e52fb3bf82fc2595dc2c0e37 (patch) | |
tree | a284a943099fabc9782c2959c6da43e2b09078ae /freebsd/dependencies/imlib/files/patch-bpp16-CVE-2007-3568.diff | |
parent | bb6e8f18c1d80974cd4f7a810267bd9753121f45 (diff) | |
download | tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.tar.gz tde-packaging-595d2593963dfc33e52fb3bf82fc2595dc2c0e37.zip |
FreeBSD: Initial import
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'freebsd/dependencies/imlib/files/patch-bpp16-CVE-2007-3568.diff')
-rw-r--r-- | freebsd/dependencies/imlib/files/patch-bpp16-CVE-2007-3568.diff | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/freebsd/dependencies/imlib/files/patch-bpp16-CVE-2007-3568.diff b/freebsd/dependencies/imlib/files/patch-bpp16-CVE-2007-3568.diff new file mode 100644 index 000000000..83e28cec6 --- /dev/null +++ b/freebsd/dependencies/imlib/files/patch-bpp16-CVE-2007-3568.diff @@ -0,0 +1,16 @@ + +Fixes #437708. + + -- Chris Lamb <chris@chris-lamb.co.uk> Sun, 18 May 2008 02:11:57 +0100 + +--- imlib/Imlib/load.c.orig 2007-08-13 23:06:20.000000000 -0300 ++++ imlib/Imlib/load.c 2007-08-13 23:06:51.000000000 -0300 +@@ -645,7 +645,7 @@ + planes = (int)word; + fread(&word, 2, 1, file); + bpp = (int)word; +- if (bpp != 1 && bpp != 4 && bpp != 8 && bpp && 16 && bpp != 24 && bpp != 32) ++ if (bpp != 1 && bpp != 4 && bpp != 8 && bpp != 16 && bpp != 24 && bpp != 32) + { + fprintf(stderr, "IMLIB ERROR: unknown bitdepth in file\n"); + return NULL; |