diff options
author | Julian Smith <jules@op59.net> | 2020-01-29 15:10:06 +0000 |
---|---|---|
committer | Julian Smith <jules@op59.net> | 2020-01-29 16:19:30 +0000 |
commit | 3b2ae21ca594934728f623667db1a002286193ea (patch) | |
tree | 7ed703a1f86a252d6973f66521180d5064faf373 /contrib | |
parent | f6f8b8de526266eebd850e43bf1d0037b6f62e4c (diff) | |
download | ghostpdl-3b2ae21ca594934728f623667db1a002286193ea.tar.gz |
Fix plane_strip_copy_rop() to use correct color depth when processing the plane.
Temporarily change mdev->color_info.depth to mdev->planes[plane].depth
so that things work when we process the plane. E.g. this fixes bug where
mem_gray8_rgb24_strip_copy_rop() was overwriting into the line_ptrs[] array.
Fixes segv in:
./bin/gs -sOutputFile=foo -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dMaxBitmap=10000 -sDEVICE=psdrgb -r300 -Z: -sDEFAULTPAPERSIZE=letter -dNOPAUSE -dBATCH -K2000000 -dClusterJob -dJOBSERVER ../fts_27_2709.pdf
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions