Summary: | ps2pdf causes crash with __fortify_fail ***buffer overflow detected*** | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Till Kamppeter <till.kamppeter> |
Component: | PDF Writer | Assignee: | Ken Sharp <ken.sharp> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | chris.liddell, jackie.rosen |
Priority: | P4 | ||
Version: | 9.07 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | 32 | |
Attachments: |
toc.preview-lp1184386.eps
xxx-lp1184386.ps |
Description
Till Kamppeter
2013-05-28 15:03:12 UTC
Created attachment 9910 [details]
xxx-lp1184386.ps
Very small file which also triggers this bug.
Unless this previously exited with an error, or it can be reproduced with some other device, this doesn't seem like its a PostScript interpreter problem. There were many changes made to support 64-bit file offsets in 9.07 so I suspect the problem is more likely to lie there than anywhere else. There have also been some fixes in this area, would it be possible to get the original reporter to try the current code rather than the 9.07 release ? I see the minimal file is a Link annotation, thanks for the much reduced file Till, I'll look at it now. I can't reproduce this on my 32-bit Linux VM using either the 9.07 released code or the current HEAD, using either of the supplied test files. My suspicion would be that this is memory corruption, in which case changing the source will radically alter the memory layout and may result in quite different effects. This would also explain why the 64-bit version does not crash. (A different version of Ghostscript would also have different memory layout of course) I'll ask other people here to try and reproduce the crash, can the original reporter (or Till) try a vanilla 9.07 release of Ghostscript and see if that crashes please ? Current master does not exhibit any problems, so it looks like this has been fixed. |