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

ASF subversion and git services commented on AVRO-3965:
-------------------------------------------------------

Commit 6c05e0d9e1c7715773023c57775b747f0c718951 in avro's branch 
refs/heads/avro-3965-default-len-bigger-than-size from Martin Tzvetanov Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=6c05e0d9e ]

AVRO-3965: [Rust] Default values for fixed can be longer than size

Return an error if the default value's length is not the same as the
specified size of a Fixed schema

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>


> 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
>            Priority: Major
>
> 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)

Reply via email to