summaryrefslogtreecommitdiff
path: root/pdf/pdf_errors.h
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2022-11-17 12:18:48 +0000
committerKen Sharp <ken.sharp@artifex.com>2022-11-17 12:18:48 +0000
commit188b861a60b0c19a21f1d4a8e7026149ac6ef731 (patch)
tree77eccb04e16e6621442fda64f31dfb9efe3f574d /pdf/pdf_errors.h
parent1042469a5225ff063c465e61dbd3ebb50c770006 (diff)
downloadghostpdl-188b861a60b0c19a21f1d4a8e7026149ac6ef731.tar.gz
PostScript interpreter - Use the correct ref for DeviceN /All ink
File from customer, no bug report. We have special processing for the /All ink in a DeviceN colour space, and that processing was assuming that the ink name was a name object which it then wanted to turn into a string object in order to get the actual string representing the name. The file in question, however, defines the names array (quite legally) as: [(All)] So the ink name is a string, not a name. The code explicitly used name_string_ref to turn the name into a string, which unsurprisingly failed because the object isn't a name. In fact we have already dealt with this earlier in the code, all we need to do is use the correct variable and it all works correctly.
Diffstat (limited to 'pdf/pdf_errors.h')
0 files changed, 0 insertions, 0 deletions