[
https://issues.apache.org/jira/browse/ORC-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
William Hyun closed ORC-1101.
-----------------------------
> Improve malformed STRUCT handling
> ---------------------------------
>
> Key: ORC-1101
> URL: https://issues.apache.org/jira/browse/ORC-1101
> Project: ORC
> Issue Type: Improvement
> Components: C++
> Affects Versions: 1.8.0
> Reporter: Dongjoon Hyun
> Assignee: Heena Bansal
> Priority: Minor
> Fix For: 1.8.0
>
>
> *Why Improvement is needed*
> apache/orc is crashing with segmentation fault when Protobuf message of type
> struct is illformed with fieldnames less than subtypes. Issue was
> reproducible. Refer GitHub issue for more details :
> [https://github.com/apache/orc/issues/1021.]
> h3. What changes were done as Improvement.
> The changes are made to validate the indices in the Protobuf message type
> tree especially for the Type_Kind_STRUCT when fieldnames are less than the
> subtypes_size() , so it won't crash when we convert the proto::Types to
> TypeImpls.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)