Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From f0a61679d28bc1561640403d92492e199bc1c0f3 Mon Sep 17 00:00:00 2001 |
| 2 | From: Chris Liddell <chris.liddell@artifex.com> |
| 3 | Date: Wed, 10 Oct 2018 23:25:51 +0100 |
| 4 | Subject: [PATCH 5/5] Bug 699938: .loadfontloop must be an operator |
| 5 | |
| 6 | In the fix for Bug 699816, I omitted to make .loadfontloop into an operator, to |
| 7 | better hide .forceundef and .putgstringcopy. |
| 8 | |
| 9 | CVE: CVE-2018-17961 |
| 10 | Upstream-Status: Backport [git://git.ghostscript.com/ghostpdl.git] |
| 11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 12 | --- |
| 13 | Resource/Init/gs_fonts.ps | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/Resource/Init/gs_fonts.ps b/Resource/Init/gs_fonts.ps |
| 17 | index 89c3ab7..72feff2 100644 |
| 18 | --- a/Resource/Init/gs_fonts.ps |
| 19 | +++ b/Resource/Init/gs_fonts.ps |
| 20 | @@ -1148,7 +1148,7 @@ $error /SubstituteFont { } put |
| 21 | |
| 22 | } loop % end of loop |
| 23 | |
| 24 | - } bind executeonly def % must be bound and hidden for .putgstringcopy |
| 25 | + } bind executeonly odef % must be bound and hidden for .putgstringcopy |
| 26 | |
| 27 | currentdict /.putgstringcopy .undef |
| 28 | |
| 29 | -- |
| 30 | 2.7.4 |
| 31 | |