Bug 703783 - Segmentation fault with named ANN pdfmark
Summary: Segmentation fault with named ANN pdfmark
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Writer (show other bugs)
Version: 9.54.0
Hardware: PC All
: P4 normal
Assignee: Ken Sharp
URL:
Keywords:
: 704351 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-04-12 21:37 UTC by Alexander Grahn
Modified: 2021-09-11 11:13 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
Example input file for ps2pdf (176 bytes, application/postscript)
2021-04-12 21:37 UTC, Alexander Grahn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Grahn 2021-04-12 21:37:22 UTC
Created attachment 20923 [details]
Example input file for ps2pdf

ps2pdfwr device stops with `Command terminated' on Linux when it processes a named ANN pdfmark (key /_objdef {...}).

This used to work up to version 9.53.3 and it allowed more key-value pairs to be post-added to the annotation dictionary.
Comment 1 Alexander Grahn 2021-04-13 14:28:39 UTC
It seems that the bug was introduced with commit 

6a1f7167cf45d23c4e1faec3ef37fb4b9e5d7a53

on Wed, 23rd Sep. (Found by bisecting commit history)
Comment 2 Ken Sharp 2021-04-19 09:59:52 UTC
Fixed in commit 50dd527e638463fe036fec4b38915151aab9f940
Comment 3 Ken Sharp 2021-09-11 11:13:23 UTC
*** Bug 704351 has been marked as a duplicate of this bug. ***