You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2015/02/09 16:13:34 UTC

[jira] [Created] (NIFI-335) Site-to-Site can sometimes fail if compression is enabled

Mark Payne created NIFI-335:
-------------------------------

             Summary: Site-to-Site can sometimes fail if compression is enabled
                 Key: NIFI-335
                 URL: https://issues.apache.org/jira/browse/NIFI-335
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 0.0.1
            Reporter: Mark Payne
            Assignee: Mark Payne
             Fix For: 0.0.2


CompressionInputStream has a bug that causes it to return a negative value when calling read() if the value of a byte is negative. Currently returns

        return buffer[bufferIndex++];

Needs to return

        return buffer[bufferIndex++] & 0xFF;



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