GitHub user Magrath opened a pull request:

    https://github.com/apache/thrift/pull/585

    THRIFT-3294 Fix buffer overrun in Java implementation of Zlib transport

    The TZlibTransport did not check the write buffer length when flushing. 
Instead, it assumed that the entire write buffer byte array was the compressed 
input.
    
    The unit test is based on TestTFramedTransport and verifies the fix. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Magrath/thrift THRIFT-3294

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/585.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #585
    
----
commit 5a51f0670613284c4d5da8e7da80c4b47eed8ede
Author: Magrath <[email protected]>
Date:   2015-08-14T15:26:19Z

    THRIFT-3294 Fix buffer overrun in Java implementation of Zlib transport
    
    The TZlibTransport did not check the write buffer length when flushing. 
Instead, it assumed that the entire write buffer byte array was the compressed 
input.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to