GitHub user asuhan opened a pull request:
https://github.com/apache/thrift/pull/1325
THRIFT-3821: Check for overflow on buffer resize in TMemoryBuffer
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/1325.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 #1325
----
commit 457b7f5be06c57e8a0f0adf33c3c43d031e21991
Author: Alex Åuhan <[email protected]>
Date: 2017-08-03T18:45:31Z
THRIFT-3821 Test for overflow on buffer resize in TMemoryBuffer
commit af851cb570c70cef833d764dbfacfc5961031f86
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.
---