You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Roman Mitasov (Jira)" <ji...@apache.org> on 2024/03/26 12:23:00 UTC

[jira] [Created] (AVRO-3965) Default values for fixed can be longer than size

Roman Mitasov created AVRO-3965:
-----------------------------------

             Summary: Default values for fixed can be longer than size
                 Key: AVRO-3965
                 URL: https://issues.apache.org/jira/browse/AVRO-3965
             Project: Apache Avro
          Issue Type: Bug
          Components: java
            Reporter: Roman Mitasov


A value longer than the specified size can be put into "default" property of a "fixed" field.

Behaviour in this case is not documented.

This should either be forbidden or documented. Even adding a UB warning in the documentation would be better than the current situation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)