[ 
https://issues.apache.org/jira/browse/THRIFT-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmytro Shteflyuk closed THRIFT-1698.
------------------------------------
    Resolution: Fixed

> 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
>         Attachments: thrift.diff
>
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to