GitHub user asuhan opened a pull request:
https://github.com/apache/thrift/pull/1326
THRIFT-3821
Going over 2 GB is quite possible when using Thrift for serialization. We
can detect the condition and throw an exception.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/asuhan/thrift THRIFT-3821
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/1326.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 #1326
----
commit 314a0b30c59b0e8b314dc6c82061eecabeb10e14
Author: Alex Åuhan <[email protected]>
Date: 2017-08-03T18:45:31Z
THRIFT-3821 Test for overflow on buffer resize in TMemoryBuffer
commit 0fe1997d53020980abdb6f43843206a289a8e24d
Author: Alex Åuhan <[email protected]>
Date: 2017-08-03T19:28:17Z
THRIFT-3821 Check for overflow on buffer resize in TMemoryBuffer
----
---
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.
---