You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Konstantin (Jira)" <ji...@apache.org> on 2019/11/29 12:45:00 UTC

[jira] [Created] (THRIFT-5041) Required fields are not handled correctly on serialization

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)