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

[jira] [Commented] (THRIFT-5041) Required fields are not handled correctly on serialization (C# netstd)

    [ https://issues.apache.org/jira/browse/THRIFT-5041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16985017#comment-16985017 ] 

Jens Geyer commented on THRIFT-5041:
------------------------------------

Makes sense.

> Required fields are not handled correctly on serialization (C# netstd)
> ----------------------------------------------------------------------
>
>                 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
>            Priority: Major
>
> 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)