THRIFT-516. rb: If TFramedTransport reads a negative frame size, throw a TTransportEx...
authorBryan Duxbury <bryanduxbury@apache.org>
Fri, 22 May 2009 20:17:04 +0000 (20:17 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Fri, 22 May 2009 20:17:04 +0000 (20:17 +0000)
commite043a9ec4b91ef5373681e966753d5172d56e79f
treeb3ea259c4e46697526621b95a5f21be916b1dfc1
parent4b86e62eb6bb9230985c53c121e6aa34642162cb
THRIFT-516. rb: If TFramedTransport reads a negative frame size, throw a TTransportException descendant instead of the default NegativeArraySizeException

Throw a TTransportException when the frame size read from the wire is < 0.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@777690 13f79535-47bb-0310-9956-ffa450edef68
lib/java/src/org/apache/thrift/transport/TFramedTransport.java