This is an automated email from the ASF dual-hosted git repository.

joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit e4a508529c127a50769127a918ce83adc5310fa5
Author: Xuebin Su <[email protected]>
AuthorDate: Tue Nov 11 12:22:55 2025 +0800

    IMPALA-14544: Fix use-after-poison for Kudu arrays
    
    This patch fixes the use-after-poison error caused by using the memory
    in the MemPool after calling `MemPool::Clear()` when reading Kudu
    arrays.
    
    Testing:
    - The ASAN build passed the core tests.
    
    Change-Id: I9b729fc6003e64856ea0e197b1e3c74dad7247a1
    Reviewed-on: http://gerrit.cloudera.org:8080/23668
    Reviewed-by: Impala Public Jenkins <[email protected]>
    Tested-by: Impala Public Jenkins <[email protected]>
---
 be/src/exec/kudu/kudu-scanner.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/be/src/exec/kudu/kudu-scanner.cc b/be/src/exec/kudu/kudu-scanner.cc
index a6e108cb7..e190a184f 100644
--- a/be/src/exec/kudu/kudu-scanner.cc
+++ b/be/src/exec/kudu/kudu-scanner.cc
@@ -564,7 +564,6 @@ Status KuduScanner::DecodeRowsIntoRowBatch(RowBatch* 
row_batch, Tuple** tuple_me
       }
     }
 
-    item_tuple_mem_pool.Clear();
     for (int i = 0; i < scan_node_->tuple_desc()->collection_slots().size(); 
++i) {
       auto slot = scan_node_->tuple_desc()->collection_slots()[i];
       Status status = ConvertArrayFromKudu(kudu_tuple, slot, 
item_tuple_buffers[i],

Reply via email to