From 972dcfcdbfe75dcfeb777150c136576cf1a71e99 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 9 Oct 2015 22:59:03 +0200 Subject: initial commit for Enea Linux 5.0 arm Signed-off-by: Tudor Florea --- .../libtiff/files/libtiff-CVE-2013-4244.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta/recipes-multimedia/libtiff/files/libtiff-CVE-2013-4244.patch (limited to 'meta/recipes-multimedia/libtiff/files/libtiff-CVE-2013-4244.patch') diff --git a/meta/recipes-multimedia/libtiff/files/libtiff-CVE-2013-4244.patch b/meta/recipes-multimedia/libtiff/files/libtiff-CVE-2013-4244.patch new file mode 100644 index 0000000000..1a668307ae --- /dev/null +++ b/meta/recipes-multimedia/libtiff/files/libtiff-CVE-2013-4244.patch @@ -0,0 +1,19 @@ +This patch comes from: https://github.com/vadz/libtiff/commit/ce6841d9e41d621ba23cf18b190ee6a23b2cc833 + +Upstream-Status: Backport + +Signed-off-by: Baogen shang +--- a/tools/gif2tiff.c 2013-12-17 16:46:02.160814995 +0800 ++++ b/tools/gif2tiff.c 2013-12-17 16:52:25.140814949 +0800 +@@ -406,6 +406,11 @@ + return 0; + } + if (oldcode == -1) { ++ if (code >= clear) { ++ fprintf(stderr, "bad input: code=%d is larger than clear=%d\n",code, clear); ++ return 0; ++ } ++ + *(*fill)++ = suffix[code]; + firstchar = oldcode = code; + return 1; -- cgit v1.2.3-54-g00ecf