Jens-G opened a new pull request, #3452: URL: https://github.com/apache/thrift/pull/3452
Client: java Ensure consumeBuffer() calls countConsumedMessageBytes() so that fast-path buffer reads correctly update remainingMessageSize, matching the accounting done in the read() slow path. Remove the now-redundant countConsumedMessageBytes() call from TMemoryInputTransport.read() to avoid double-counting. Also call checkStringReadLength() in TBinaryProtocol.readString() before entering the fast path so stringLengthLimit is evaluated uniformly regardless of whether data is available in the buffer. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
