GitHub user stiga-huang opened a pull request:
https://github.com/apache/orc/pull/231
ORC-317: [C++] check that indices in the protobuf type tree are valid
A corrupt file may contain loops in the protobuf type tree. We should check
this before invoking `convertType`. The file attached to the Jira can reproduce
this bug. Tests are added for coverage.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/stiga-huang/orc check-type-id
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/orc/pull/231.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #231
commit edece2ba16da09433fa7ca5f5cfeb966df09d58a
Author: stiga-huang
Date: 2018-03-15T23:37:55Z
ORC-317: check that indices in the protobuf type tree are valid
---