diff options
Diffstat (limited to 'meta/recipes-extended/ghostscript/ghostscript/CVE-2016-7978.patch')
-rw-r--r-- | meta/recipes-extended/ghostscript/ghostscript/CVE-2016-7978.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-extended/ghostscript/ghostscript/CVE-2016-7978.patch b/meta/recipes-extended/ghostscript/ghostscript/CVE-2016-7978.patch deleted file mode 100644 index 668f205968..0000000000 --- a/meta/recipes-extended/ghostscript/ghostscript/CVE-2016-7978.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 6f749c0c44e7b9e09737b9f29edf29925a34f0cf Mon Sep 17 00:00:00 2001 | ||
2 | From: Chris Liddell <chris.liddell@artifex.com> | ||
3 | Date: Wed, 5 Oct 2016 09:59:25 +0100 | ||
4 | Subject: [PATCH] Bug 697179: Reference count device icc profile | ||
5 | |||
6 | when copying a device | ||
7 | |||
8 | Upstream-Status: Backport | ||
9 | CVE: CVE-2016-7978 | ||
10 | |||
11 | Signed-off-by: Catalin Enache <catalin.enache@windriver.com> | ||
12 | --- | ||
13 | base/gsdevice.c | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/base/gsdevice.c b/base/gsdevice.c | ||
17 | index 778106f..aea986a 100644 | ||
18 | --- a/base/gsdevice.c | ||
19 | +++ b/base/gsdevice.c | ||
20 | @@ -614,6 +614,7 @@ gx_device_init(gx_device * dev, const gx_device * proto, gs_memory_t * mem, | ||
21 | dev->memory = mem; | ||
22 | dev->retained = !internal; | ||
23 | rc_init(dev, mem, (internal ? 0 : 1)); | ||
24 | + rc_increment(dev->icc_struct); | ||
25 | } | ||
26 | |||
27 | void | ||
28 | -- | ||
29 | 2.10.2 | ||
30 | |||