[
https://issues.apache.org/jira/browse/IMPALA-15377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on IMPALA-15377 started by Michael Smith.
----------------------------------------------
> ASAN heap-buffer-overflow in ParquetDeltaEncoder for empty pages
> ----------------------------------------------------------------
>
> Key: IMPALA-15377
> URL: https://issues.apache.org/jira/browse/IMPALA-15377
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Reporter: Michael Smith
> Assignee: Michael Smith
> Priority: Major
>
> {{ParquetDeltaEncoder::FinalizePage()}} unconditionally writes a page header
> even when zero values have been written (\{{total_value_count_ == 0}}), using
> an uninitialized {{first_value_}} and requiring more space than
> {{WorstCaseOutputSize(0) }}(which returns 0) reserves. This caused a
> heap-buffer-overflow write in BitWriter::PutAligned via WriteHeader, hit by
> ParquetDeltaLengthByteArrayDecoderTest.EmptyPage on ASAN builds with newer
> Clang versions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]