Uploaded image for project: 'Commons Imaging'
  1. Commons Imaging
  2. IMAGING-298

PngImageParser throws IAE without documenting it

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0-alpha2
    • 1.0-alpha3
    • Format: PNG
    • None

    Description

      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).

      Attachments

        Activity

          People

            kinow Bruno P. Kinoshita
            kinow Bruno P. Kinoshita
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h