GitHub user ChristianCiach opened a pull request:
https://github.com/apache/thrift/pull/1398
THRIFT-4362 check "read length" in readStringBody(int)
This fixes THRIFT-4362.
If possible, please port this fix to previous versions.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ChristianCiach/thrift THRIFT-4362
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/1398.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 #1398
----
commit 37dfb6cfda585aec82226f62814eb00ed609c3fe
Author: christianc <[email protected]>
Date: 2017-10-24T07:25:20Z
THRIFT-4362 check "read length" in readStringBody(int)
----
---