Casey Ching has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/2749

Change subject: IMPALA-3302: Fix ASAN use-after-free failure in Kudu scanner
......................................................................

IMPALA-3302: Fix ASAN use-after-free failure in Kudu scanner

When fetching VARCHAR data from Kudu, Impala was using a pointer that
was owned and freed by the Kudu client. There was already a mechanism to
copy string data but it was only applied to STRING columns. The fix is
to apply the same mechanism to VARCHAR columns. That's done by adding
the VARCHAR column to the list of string type columns/slots that need to
be copied.

Change-Id: Ib513aae531086355e77ac9c35ed38728efaa0be9
---
M be/src/exec/kudu-scanner.cc
1 file changed, 6 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/49/2749/1
-- 
To view, visit http://gerrit.cloudera.org:8080/2749
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib513aae531086355e77ac9c35ed38728efaa0be9
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Casey Ching <[email protected]>

Reply via email to