[ 
https://issues.apache.org/jira/browse/PDFBOX-3090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992131#comment-14992131
 ] 

ASF subversion and git services commented on PDFBOX-3090:
---------------------------------------------------------

Commit 1712836 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1712836 ]

PDFBOX-3090: avoid ArrayIndexOutOfBoundsException

> ArrayIndexOutOfBoundsException in CmapSubtable.processSubtype2
> --------------------------------------------------------------
>
>                 Key: PDFBOX-3090
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3090
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>             Fix For: 2.0.0
>
>         Attachments: PDFBOX-3090-833307-p3.pdf
>
>
> {code}
> java.lang.ArrayIndexOutOfBoundsException: 8599
>       at 
> org.apache.fontbox.ttf.CmapSubtable.processSubtype2(CmapSubtable.java:491)
>       at 
> org.apache.fontbox.ttf.CmapSubtable.initSubtable(CmapSubtable.java:92)
>       at org.apache.fontbox.ttf.CmapTable.read(CmapTable.java:84)
>       at org.apache.fontbox.ttf.TrueTypeFont.readTable(TrueTypeFont.java:377)
>       at org.apache.fontbox.ttf.TTFParser.parseTables(TTFParser.java:169)
>       at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:145)
>       at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:106)
>       at 
> org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>(PDCIDFontType2.java:111)
>       at 
> org.apache.pdfbox.pdmodel.font.PDCIDFontType2.<init>(PDCIDFontType2.java:70)
>       at 
> org.apache.pdfbox.pdmodel.font.PDFontFactory.createDescendantFont(PDFontFactory.java:125)
>       at 
> org.apache.pdfbox.pdmodel.font.PDType0Font.<init>(PDType0Font.java:125)
>       at 
> org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:83)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to