Brad Bishop | d89cb5f | 2019-04-10 09:02:41 -0400 | [diff] [blame^] | 1 | From 0cb5e967c0200559f946291b5b54f8da30c32cd6 Mon Sep 17 00:00:00 2001 |
| 2 | From: Chris Liddell <chris.liddell@artifex.com> |
| 3 | Date: Fri, 22 Feb 2019 12:28:23 +0000 |
| 4 | Subject: [PATCH] Bug 700576(redux): an extra transient proc needs |
| 5 | executeonly'ed. |
| 6 | |
| 7 | CVE: CVE-2019-3838 |
| 8 | Upstream-Status: Backport [git://git.ghostscript.com/ghostpdl.git] |
| 9 | |
| 10 | Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> |
| 11 | --- |
| 12 | Resource/Init/gs_res.ps | 2 +- |
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 14 | |
| 15 | diff --git a/Resource/Init/gs_res.ps b/Resource/Init/gs_res.ps |
| 16 | index a163541..8ce4ae3 100644 |
| 17 | --- a/Resource/Init/gs_res.ps |
| 18 | +++ b/Resource/Init/gs_res.ps |
| 19 | @@ -438,7 +438,7 @@ status { |
| 20 | % Now make the resource value read-only. |
| 21 | 0 2 copy get { readonly } .internalstopped pop |
| 22 | dup 4 1 roll put exch pop exch pop |
| 23 | - } |
| 24 | + } executeonly |
| 25 | { /defineresource cvx /typecheck signaloperror |
| 26 | } |
| 27 | ifelse |
| 28 | -- |
| 29 | 2.18.1 |
| 30 | |