diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2016-10-17 16:34:14 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2016-10-18 07:17:30 +0100 |
commit | 6d1822faa68c17b945aea2713985b7095ca424aa (patch) | |
tree | e5f453f9060efa23da16169445ca7bd3d7a56e3e | |
parent | e6460567fcec3b4c96dd4912e556e3b846adaef2 (diff) | |
download | ghostpdl-6d1822faa68c17b945aea2713985b7095ca424aa.tar.gz |
ASAN segfault: add missing pointer to pclxl_image_enum_t gc info
The pclxl_image_enum_t stores a pointer to an icclink which is allocated in gc
memory, so the garbager needs to know about that.
-rw-r--r-- | devices/vector/gdevpx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devices/vector/gdevpx.c b/devices/vector/gdevpx.c index e02956dbb..4e35c5e3a 100644 --- a/devices/vector/gdevpx.c +++ b/devices/vector/gdevpx.c @@ -1987,10 +1987,10 @@ typedef struct pclxl_image_enum_s { gsicc_link_t *icclink; } pclxl_image_enum_t; -gs_private_st_suffix_add1(st_pclxl_image_enum, pclxl_image_enum_t, +gs_private_st_suffix_add2(st_pclxl_image_enum, pclxl_image_enum_t, "pclxl_image_enum_t", pclxl_image_enum_enum_ptrs, pclxl_image_enum_reloc_ptrs, st_vector_image_enum, - rows.data); + rows.data, icclink); /* Start processing an image. */ static int |