summarylogtreecommitdiffstats
path: root/jasper-1.900.1-CVE-2014-8137.patch
diff options
context:
space:
mode:
authoreric2014-12-19 03:38:02 +0000
committerJakob Gahde2016-09-26 11:27:19 +0200
commitb5dedc50e387fb8885866376a191999fc8be7376 (patch)
treed60a7e838352ca3bd58b94310764f713be4e2040 /jasper-1.900.1-CVE-2014-8137.patch
parent9081218c1b90ce6c9423a698bce35bc5726daa90 (diff)
downloadaur-b5dedc50e387fb8885866376a191999fc8be7376.tar.gz
upgpkg: jasper 1.900.1-12
Add CVE patches (close FS#43155) git-svn-id: file:///srv/repos/svn-packages/svn@227774 eb2447ed-0c53-47e4-bac8-5bc4a241df78
Diffstat (limited to 'jasper-1.900.1-CVE-2014-8137.patch')
-rw-r--r--jasper-1.900.1-CVE-2014-8137.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/jasper-1.900.1-CVE-2014-8137.patch b/jasper-1.900.1-CVE-2014-8137.patch
new file mode 100644
index 000000000000..0397a24c5c4d
--- /dev/null
+++ b/jasper-1.900.1-CVE-2014-8137.patch
@@ -0,0 +1,43 @@
+--- jasper-1.900.1.orig/src/libjasper/base/jas_icc.c 2014-12-11 14:06:44.000000000 +0100
++++ jasper-1.900.1/src/libjasper/base/jas_icc.c 2014-12-11 15:16:37.971272386 +0100
+@@ -1009,7 +1009,6 @@ static int jas_icccurv_input(jas_iccattr
+ return 0;
+
+ error:
+- jas_icccurv_destroy(attrval);
+ return -1;
+ }
+
+@@ -1127,7 +1126,6 @@ static int jas_icctxtdesc_input(jas_icca
+ #endif
+ return 0;
+ error:
+- jas_icctxtdesc_destroy(attrval);
+ return -1;
+ }
+
+@@ -1206,8 +1204,6 @@ static int jas_icctxt_input(jas_iccattrv
+ goto error;
+ return 0;
+ error:
+- if (txt->string)
+- jas_free(txt->string);
+ return -1;
+ }
+
+@@ -1328,7 +1324,6 @@ static int jas_icclut8_input(jas_iccattr
+ goto error;
+ return 0;
+ error:
+- jas_icclut8_destroy(attrval);
+ return -1;
+ }
+
+@@ -1497,7 +1492,6 @@ static int jas_icclut16_input(jas_iccatt
+ goto error;
+ return 0;
+ error:
+- jas_icclut16_destroy(attrval);
+ return -1;
+ }
+