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

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

Commit dc52f38d70fe9614fb6a0890e0262ae2714ecf42 in avro's branch 
refs/heads/branch-1.11 from Alexander Stanovoy
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=dc52f38d7 ]

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

Co-authored-by: Alexander Stanovoy <alex.stano...@gmail.com>
(cherry picked from commit 74486c79049eca5c8805b68eed0504ba0705bf8a)


> [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
>            Priority: Trivial
>              Labels: pull-request-available
>          Time Spent: 40m
>  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)

Reply via email to