thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin (Jira)" <j...@apache.org>
Subject [jira] [Created] (THRIFT-5041) Required fields are not handled correctly on serialization
Date Fri, 29 Nov 2019 12:45:00 GMT
Konstantin created THRIFT-5041:
----------------------------------

             Summary: Required fields are not handled correctly on serialization
                 Key: THRIFT-5041
                 URL: https://issues.apache.org/jira/browse/THRIFT-5041
             Project: Thrift
          Issue Type: Bug
          Components: netstd - Compiler
    Affects Versions: 0.13.0
            Reporter: Konstantin


Required fields are checked for presence during deserialization (ReadAsync) but not checked
during serialization (WriteAsync). That gives a possibility to send invalid data over the
wire.

I think it would make sense to behave same way in both scenarios when reading and writing.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message