[
https://issues.apache.org/jira/browse/AVRO-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16703838#comment-16703838
]
ASF subversion and git services commented on AVRO-1528:
-------------------------------------------------------
Commit 54fc3f53807f7cfa535100d826e19e66aa5cad8e in avro's branch
refs/heads/master from [~bw123]
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=54fc3f5 ]
AVRO-1528. C: Applied patch for enum bounds.
> avro_schema_enum_get returns invalid pointer for unknown indices
> ----------------------------------------------------------------
>
> Key: AVRO-1528
> URL: https://issues.apache.org/jira/browse/AVRO-1528
> Project: Apache Avro
> Issue Type: Bug
> Components: c
> Affects Versions: 1.7.6
> Reporter: Jeno I. Hajdu
> Priority: Trivial
> Attachments: AVRO-1528.patch
>
>
> When avro_schema_enum_get() is called with invalid indices it returns an
> invalid pointer instead of NULL, this leads to segfaults. Similar problem is
> already handled in avro_schema_enum_get_by_name() when converting the other
> way round, avro_schema_enum_get() could handle it likewise.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)