GitHub user stiga-huang opened a pull request:
https://github.com/apache/orc/pull/223
ORC-311: Fix null points when StripeFooter corrupts
The c++ codes do not check streams got from the
StripeStreamsImpl::getStream. It may return null pointers for corrupt
StripeFooter, which crash the c++ Reader finally.
Test files are attached to the JIRA.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/stiga-huang/orc check-streams
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/orc/pull/223.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 #223
----
commit 6c21d6ee280106eab8e055af775a581e9d8ee7dc
Author: stiga-huang <huangquanlong@...>
Date: 2018-03-02T14:53:44Z
Fix null points when StripeFooter corrupts
----
---