You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Thiruvalluvan M. G. (JIRA)" <ji...@apache.org> on 2018/12/28 16:26:01 UTC

[jira] [Closed] (AVRO-1415) C++ binary encoder and decoder doesn't handle uninitialzed enums

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

Thiruvalluvan M. G. closed AVRO-1415.
-------------------------------------

Closing issues that got resolved in earlier releases.

> C++ binary encoder and decoder doesn't handle uninitialzed enums
> ----------------------------------------------------------------
>
>                 Key: AVRO-1415
>                 URL: https://issues.apache.org/jira/browse/AVRO-1415
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: c++
>    Affects Versions: 1.7.4
>            Reporter: Ramana Suvarapu
>            Assignee: Ramana Suvarapu
>            Priority: Major
>         Attachments: AVRO-1415-2.patch, AVRO-1415.patch
>
>
> When enums are not properly initialized and when they get encoded / decoded, C++ enum encoding and decoding traits don't check for uninitialed enums and it encodes the wrong values. When Java or C# tries to decode them, they throw out of boundary exceptions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)