You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2024/04/03 08:07:00 UTC

[jira] [Commented] (AVRO-3964) [Rust] Out-of-bounds panic

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

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

Commit 74486c79049eca5c8805b68eed0504ba0705bf8a in avro's branch refs/heads/dependabot/maven/lang/java/org.codehaus.mojo-extra-enforcer-rules-1.8.0 from Alexander Stanovoy
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=74486c790 ]

AVRO-3964: Fix out-of-bounds panic (#2821)

Co-authored-by: Alexander Stanovoy <al...@gmail.com>

> [Rust] Out-of-bounds panic
> --------------------------
>
>                 Key: AVRO-3964
>                 URL: https://issues.apache.org/jira/browse/AVRO-3964
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: rust
>            Reporter: Alexander Stanovoy
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 1.12.0, 1.11.4
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Due to a typo, it's possible to get out-of-bounds panic on [decode|https://github.com/apache/avro/blob/main/lang/rust/avro/src/decode.rs#L326-L327]. It should've been `(0..symbols.len())` instead.



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