* gnu/packages/patches/ghostscript-CVE-2013-5653.patch, gnu/packages/patches/ghostscript-CVE-2016-7976.patch, gnu/packages/patches/ghostscript-CVE-2016-7978.patch, gnu/packages/patches/ghostscript-CVE-2016-7979.patch, gnu/packages/patches/ghostscript-CVE-2016-8602.patch: New files. * gnu/local.mk (dist_patch_DATA): Add them. * gnu/packages/ghostscript.scm (ghostscript)[replacement]: New field. (ghostscript/fixed): New variable. (ghostscript/x): Inherit 'ghostscript/fixed'.
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			678 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			678 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
From 6f749c0c44e7b9e09737b9f29edf29925a34f0cf Mon Sep 17 00:00:00 2001
 | 
						|
From: Chris Liddell <chris.liddell@artifex.com>
 | 
						|
Date: Wed, 5 Oct 2016 09:59:25 +0100
 | 
						|
Subject: [PATCH] Bug 697179: Reference count device icc profile
 | 
						|
 | 
						|
when copying a device
 | 
						|
---
 | 
						|
 base/gsdevice.c | 1 +
 | 
						|
 1 file changed, 1 insertion(+)
 | 
						|
 | 
						|
diff --git a/base/gsdevice.c b/base/gsdevice.c
 | 
						|
index 778106f..aea986a 100644
 | 
						|
--- a/base/gsdevice.c
 | 
						|
+++ b/base/gsdevice.c
 | 
						|
@@ -614,6 +614,7 @@ gx_device_init(gx_device * dev, const gx_device * proto, gs_memory_t * mem,
 | 
						|
     dev->memory = mem;
 | 
						|
     dev->retained = !internal;
 | 
						|
     rc_init(dev, mem, (internal ? 0 : 1));
 | 
						|
+    rc_increment(dev->icc_struct);
 | 
						|
 }
 | 
						|
 
 | 
						|
 void
 | 
						|
-- 
 | 
						|
2.9.1
 | 
						|
 |