You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2026/09/21 20:32:00 UTC
[jira] [Resolved] (IMPALA-15377) ASAN heap-buffer-overflow in ParquetDeltaEncoder for empty pages
[ https://issues.apache.org/jira/browse/IMPALA-15377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Smith resolved IMPALA-15377.
------------------------------------
Fix Version/s: Impala 5.0.0
Resolution: Fixed
> 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
> Fix For: Impala 5.0.0
>
>
> {{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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org