summaryrefslogtreecommitdiff
path: root/app-text/ghostscript-gpl/files/VU332928-githash0edd3d6c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/ghostscript-gpl/files/VU332928-githash0edd3d6c.patch')
-rw-r--r--app-text/ghostscript-gpl/files/VU332928-githash0edd3d6c.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/app-text/ghostscript-gpl/files/VU332928-githash0edd3d6c.patch b/app-text/ghostscript-gpl/files/VU332928-githash0edd3d6c.patch
deleted file mode 100644
index 21d77eae..00000000
--- a/app-text/ghostscript-gpl/files/VU332928-githash0edd3d6c.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From: Chris Liddell <chris.liddell@artifex.com>
-Date: Tue, 21 Aug 2018 19:36:52 +0000 (+0100)
-Subject: Bug 699659: Don't just assume an object is a t_(a)struct
-X-Git-Tag: ghostpdl-9.24rc1~20
-X-Git-Url: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff_plain;h=0edd3d6c
-
-Bug 699659: Don't just assume an object is a t_(a)struct
----
-
-diff --git a/psi/ztype.c b/psi/ztype.c
-index ad248d9..8307956 100644
---- a/psi/ztype.c
-+++ b/psi/ztype.c
-@@ -76,7 +76,7 @@ ztype(i_ctx_t *i_ctx_p)
- /* Must be either a stack underflow or a t_[a]struct. */
- check_op(2);
- { /* Get the type name from the structure. */
-- if (op[-1].value.pstruct != 0x00) {
-+ if ((r_has_type(&op[-1], t_struct) || r_has_type(&op[-1], t_astruct)) && op[-1].value.pstruct != 0x00) {
- const char *sname =
- gs_struct_type_name_string(gs_object_type(imemory,
- op[-1].value.pstruct));