GitHub user psi29a opened a pull request:
https://github.com/apache/thrift/pull/234
TCompactProtocol and TJSONProtocol need boundary checking
added use cases to check boundaries on signed ints, TCompact and TJSON
failed and are now properly raising errors on bad imput like upack does in the
binary protocols
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/psi29a/thrift boundry_checking
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/234.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 #234
----
commit b2a3df371bc75f71f00b6bfd5dc0b61db573842d
Author: Bret Curtis <[email protected]>
Date: 2014-10-02T14:29:14Z
added use cases to check boundaries on signed ints, TCompact and TJSON
failed and are now properly raising errors on bad imput like upack does in the
binary protocols
----
---
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.
---