Description
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.
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.
Attachments
Issue Links
- links to