[
https://issues.apache.org/jira/browse/AVRO-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16704479#comment-16704479
]
ASF GitHub Bot commented on AVRO-1528:
--------------------------------------
walshb commented on issue #398: AVRO-1528. C: Applied patch for enum bounds.
URL: https://github.com/apache/avro/pull/398#issuecomment-443145903
@dkulp Thank you for taking the time to look at this (and the other pull
requests). It's much appreciated. Thanks.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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
> Fix For: 1.9.0
>
> 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)