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 2019/11/10 08:41:00 UTC

[jira] [Created] (IMAGING-238) Copy byte arrays in Png Chunk and Png Chunk ICCP

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

             Summary: Copy byte arrays in Png Chunk and Png Chunk ICCP
                 Key: IMAGING-238
                 URL: https://issues.apache.org/jira/browse/IMAGING-238
             Project: Commons Imaging
          Issue Type: Improvement
          Components: Format: PNG
    Affects Versions: 1.0-alpha1
            Reporter: Bruno P. Kinoshita
            Assignee: Bruno P. Kinoshita
             Fix For: 1.0-alpha2


Noticed that the PngChunkIccp class was never tested. While looking at this class, also noticed both this class and its parent had no javadoc, and a few TODO notes.

We can remove the TODO's by returning copied values (they are already final, and the parser may fail if users change the bytes in the array).



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