Kevin Radloff created THRIFT-1698:
-------------------------------------

             Summary: BaseTransport is missing nil check in read_all
                 Key: THRIFT-1698
                 URL: https://issues.apache.org/jira/browse/THRIFT-1698
             Project: Thrift
          Issue Type: Bug
          Components: Ruby - Library
    Affects Versions: 0.8
            Reporter: Kevin Radloff
            Priority: Minor


The code in BaseTransport#read_all does not check that the return value from 
#read is non-nil. I haven't checked all the transport classes, but I know this 
is possible from the IOStreamTransport. Either #read_all needs a nil check, or 
transport classes need to be modified to never return nil from their #read 
methods.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to