Summary: | PDF issue: Error: /VMerror in --run-- | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Marcos H. Woehrmann <marcos.woehrmann> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | master | ||
Hardware: | All | ||
OS: | All | ||
Customer: | 330 | Word Size: | --- |
Attachments: | patch |
Description
Marcos H. Woehrmann
2008-07-10 06:52:36 UTC
Created attachment 4202 [details]
Designbelaege_Spacia.pdf
This is failing when trying to open the embedded TT font. Specifically, in ttobjs.c::Instance_Create at line 573: if (maxp->maxInstructionDefs > 255) goto Fail_Memory; maxp->maxInstructionDefs has value 362 so the jump to Fail_Memory is taken. Created attachment 4208 [details]
patch
TrueType instruction definitions (IDEF) are addressed by a single byte index.
So there cannot be mode than 256 different instructions. Nevertheless, a
request
a larger array for instruction definitions should not be a fatal error.
The patch is committed as a rev. 8831. Regression testing shows no differences. |