[
https://issues.apache.org/jira/browse/AVRO-3965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17851104#comment-17851104
]
ASF subversion and git services commented on AVRO-3965:
-------------------------------------------------------
Commit 0661bfe71836be253626e1c85d7c6c12a48fe667 in avro's branch
refs/heads/dependabot/maven/lang/java/org.apache.hadoop-hadoop-client-3.4.0
from Martin Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=0661bfe71 ]
AVRO-3965: [Rust] Default values for fixed can be longer than size (#2907)
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, rust
> Reporter: Roman Mitasov
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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)