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 23:46:00 UTC

[jira] [Resolved] (IMAGING-238) Return copied byte arrays in Png Chunk and Png Chunk ICCP

     [ https://issues.apache.org/jira/browse/IMAGING-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruno P. Kinoshita resolved IMAGING-238.
----------------------------------------
    Resolution: Fixed

> Return copied 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
>            Priority: Minor
>             Fix For: 1.0-alpha2
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)