[
https://issues.apache.org/jira/browse/IMAGING-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14508425#comment-14508425
]
Nebu Pookins commented on IMAGING-169:
--------------------------------------
I've already written a fix for this, including unit tests demonstrating the
problem: https://github.com/apache/commons-imaging/pull/16
> header parse bug in PnmImageParser
> -----------------------------------
>
> Key: IMAGING-169
> URL: https://issues.apache.org/jira/browse/IMAGING-169
> Project: Commons Imaging
> Issue Type: Bug
> Components: Format: PNM
> Reporter: Nebu Pookins
>
> The general contract for the image parsers is to throw ImageReadException if
> they are passed an invalid image. PnmImageParser would throw
> NumberFormatException if the width or header could not be parsed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)