[
https://issues.apache.org/jira/browse/AVRO-3965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17846528#comment-17846528
]
ASF subversion and git services commented on AVRO-3965:
-------------------------------------------------------
Commit 82fa91cdeb8178568d19924d7dc25e9ab42ae601 in avro's branch
refs/heads/branch-1.11 from Martin Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=82fa91cde ]
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]>
(cherry picked from commit 0661bfe71836be253626e1c85d7c6c12a48fe667)
> 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
> Labels: pull-request-available
> Time Spent: 20m
> 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)