You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bruno P. Kinoshita (Jira)" <ji...@apache.org> on 2021/04/26 08:55:00 UTC

[jira] [Created] (IMAGING-298) PngImageParser throws IAE without documenting it

Bruno P. Kinoshita created IMAGING-298:
------------------------------------------

             Summary: PngImageParser throws IAE without documenting it
                 Key: IMAGING-298
                 URL: https://issues.apache.org/jira/browse/IMAGING-298
             Project: Commons Imaging
          Issue Type: Improvement
          Components: Format: PNG
    Affects Versions: 1.0-alpha2
            Reporter: Bruno P. Kinoshita
            Assignee: Bruno P. Kinoshita
             Fix For: 1.0-alpha3


Minor issue found by Google OSS Fuzz. Not a security issue IMO, just a runtime exception happening when the input data contains invalid ICC profile. We can do better and throw an ImageReadException (the parser fails to read the PNG image anyway, but now will throw a checked exception).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)