thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (Jira)" <>
Subject [jira] [Created] (THRIFT-5211) Handle incomplete reads correctly
Date Sun, 17 May 2020 12:43:00 GMT
Jens Geyer created THRIFT-5211:

             Summary: Handle incomplete reads correctly
                 Key: THRIFT-5211
             Project: Thrift
          Issue Type: Bug
          Components: Haskell - Library
            Reporter: Jens Geyer

>From []

The read functions for handles promise to return _up_ to the requested number of bytes.
This means in case we read less bytes, we should try again to read some more bytes. This issue
caused invalid frame sizes which caused arbitrary decoding failures.

I believe that the bug has been introduced in [{{3c42007}}|]

This message was sent by Atlassian Jira

View raw message