aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/jasper-CVE-2016-2116.patch
blob: cdb616fb6a926dc28ca546360fa04b9bbfec19cd (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: CVE-2016-2116: Prevent jas_stream_t memory leak in jas_iccprof_createfrombuf()
Origin: vendor, http://www.openwall.com/lists/oss-security/2016/03/03/12
Bug-Debian: https://bugs.debian.org/816626
Forwarded: not-needed
Author: Tyler Hicks <tyhicks@canoonical.com>
Reviewed-by: Salvatore Bonaccorso <carnil@debian.org>
Last-Update: 2016-03-05

--- a/src/libjasper/base/jas_icc.c
+++ b/src/libjasper/base/jas_icc.c
@@ -1693,6 +1693,8 @@ jas_iccprof_t *jas_iccprof_createfrombuf
 	jas_stream_close(in);
 	return prof;
 error:
+	if (in)
+		jas_stream_close(in);
 	return 0;
 }
 
> 2020-10-13gnu: Add libwuya....Maxim Cournoyer 2020-10-06gnu: Fix up package copyright headers.Tobias Geerinckx-Rice 2020-07-12gnu: Remove ".git" from "https://github/…/….git"....Ludovic Courtès 2020-06-29gnu: sparse: Update to 0.6.2....Tobias Geerinckx-Rice 2020-06-25gnu: Add unifdef....Maxim Cournoyer 2020-06-12gnu: Add liblogging....Katherine Cox-Buday 2020-06-12gnu: Add libfastjson....Katherine Cox-Buday 2020-06-12gnu: Add libestr....Katherine Cox-Buday 2020-05-30gnu: libhx: Update to 3.25....Tobias Geerinckx-Rice 2020-05-27gnu: Add packcc....Marius Bakke 2020-05-14gnu: Add sparse....Jan (janneke) Nieuwenhuizen 2020-02-19gnu: libbytesize: Update to 2.2....Tobias Geerinckx-Rice 2019-12-03gnu: tcc: Add search paths and drop the wrapper....Andreas Enge 2019-11-26gnu: Add libhx....Guillaume Le Vaillant 2019-11-22gnu: libbytesize: Update to 2.1....Tobias Geerinckx-Rice