Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-1101

Improve malformed STRUCT handling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.0
    • 1.8.0
    • C++
    • None

    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

          Activity

            People

              heenabansal Heena Bansal
              dongjoon Dongjoon Hyun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: