You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2016/10/09 13:55:20 UTC

[jira] [Created] (IMAGING-190) DataReader.decompress() overwrites its input

Sebb created IMAGING-190:
----------------------------

             Summary: DataReader.decompress() overwrites its input
                 Key: IMAGING-190
                 URL: https://issues.apache.org/jira/browse/IMAGING-190
             Project: Commons Imaging
          Issue Type: Bug
            Reporter: Sebb


The DataReader.decompress() method rewrites its input data if the fill order is set to FILL_ORDER_VALUE_REVERSED.

However AFAICT the fill order is not then updated, so calling the method mulitple times will redo the conversion.

The method should probably use a new array if the output has to be reversed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)