summaryrefslogtreecommitdiff
path: root/base/gxclrast.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2023-02-16 12:25:00 +0000
committerRobin Watts <Robin.Watts@artifex.com>2023-02-16 14:21:25 +0000
commit6ff824c49601ab3b6fee6a9e1f45c0fed3cc1d1d (patch)
tree36f1cb77cb86522541037abd35f097991f138863 /base/gxclrast.c
parent1c7bcdddc7cc944338d31207f6ee6ad4e93312e7 (diff)
downloadghostpdl-6ff824c49601ab3b6fee6a9e1f45c0fed3cc1d1d.tar.gz
Bug 706373 Continued: Fix missing initialisation.
We missed updating the clist code to initialise the new imagematrices_are_untrustworthy member. Consequently in some cases we were failing to clip the amount of images we were interpolating.
Diffstat (limited to 'base/gxclrast.c')
-rw-r--r--base/gxclrast.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/gxclrast.c b/base/gxclrast.c
index 9b1645d06..917a23889 100644
--- a/base/gxclrast.c
+++ b/base/gxclrast.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2022 Artifex Software, Inc.
+/* Copyright (C) 2001-2023 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -2964,6 +2964,7 @@ read_begin_image(command_buf_t *pcb, gs_image_common_t *pic,
sread_string(&s, pcb->ptr, pcb->end - pcb->ptr);
code = image_type->sget(pic, &s, pcs);
pcb->ptr = sbufptr(&s);
+ pic->imagematrices_are_untrustworthy = 0;
return code;
}