[ 
https://issues.apache.org/jira/browse/PDFBOX-6327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-6327.
-------------------------------------
    Fix Version/s: 2.0.38
                   3.0.9 PDFBox
                   4.0.0
       Resolution: Fixed

> Improve error path on CMapStrings.getMapping()
> ----------------------------------------------
>
>                 Key: PDFBOX-6327
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6327
>             Project: PDFBox
>          Issue Type: Sub-task
>          Components: FontBox
>    Affects Versions: 2.0.37, 3.0.8 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.38, 3.0.9 PDFBox, 4.0.0
>
>
> CMapStrings.getMapping() has different error paths for empty input and input 
> > 2 bytes. Change it so that it returns null on ALL errors. (It might be more 
> useful to return an empty string, considering that C.A.R. Hoare calls null 
> pointers a mistake)



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to