commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nebu Pookins (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IMAGING-169) header parse bug in PnmImageParser
Date Thu, 23 Apr 2015 04:17:38 GMT

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

Mime
View raw message