diff options
author | xantares | 2015-06-08 23:45:44 +0200 |
---|---|---|
committer | xantares | 2015-06-08 23:45:44 +0200 |
commit | 871649a814bb8e32bd979505193b92a5aebd1a9b (patch) | |
tree | 1d4063ec43d69a055074d07c97356f4e1850111d /jasper-1.900.1-CVE-2014-8157.patch | |
download | aur-871649a814bb8e32bd979505193b92a5aebd1a9b.tar.gz |
Initial import
Diffstat (limited to 'jasper-1.900.1-CVE-2014-8157.patch')
-rw-r--r-- | jasper-1.900.1-CVE-2014-8157.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/jasper-1.900.1-CVE-2014-8157.patch b/jasper-1.900.1-CVE-2014-8157.patch new file mode 100644 index 000000000000..ebfc1b2d0f25 --- /dev/null +++ b/jasper-1.900.1-CVE-2014-8157.patch @@ -0,0 +1,12 @@ +diff -up jasper-1.900.1/src/libjasper/jpc/jpc_dec.c.CVE-2014-8157 jasper-1.900.1/src/libjasper/jpc/jpc_dec.c +--- jasper-1.900.1/src/libjasper/jpc/jpc_dec.c.CVE-2014-8157 2015-01-19 16:59:36.000000000 +0100 ++++ jasper-1.900.1/src/libjasper/jpc/jpc_dec.c 2015-01-19 17:07:41.609863268 +0100 +@@ -489,7 +489,7 @@ static int jpc_dec_process_sot(jpc_dec_t + dec->curtileendoff = 0; + } + +- if (JAS_CAST(int, sot->tileno) > dec->numtiles) { ++ if (JAS_CAST(int, sot->tileno) >= dec->numtiles) { + jas_eprintf("invalid tile number in SOT marker segment\n"); + return -1; + } |