Jim Apple has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/11047 )

Change subject: IMPALA-5031: Fix undefined behavior: right-shifting too far
......................................................................


Patch Set 3:

(2 comments)

I'll wait for another +2 from you, Tim, since this changes things enough to 
deserve a second quick look.

http://gerrit.cloudera.org:8080/#/c/11047/2/be/src/exec/hdfs-avro-scanner-ir.cc
File be/src/exec/hdfs-avro-scanner-ir.cc:

http://gerrit.cloudera.org:8080/#/c/11047/2/be/src/exec/hdfs-avro-scanner-ir.cc@264
PS2, Line 264:         memset(slot, 0, slot_byte_size);
> UNLIKELY()?
done


http://gerrit.cloudera.org:8080/#/c/11047/3/be/src/exec/hdfs-avro-scanner-ir.cc
File be/src/exec/hdfs-avro-scanner-ir.cc:

http://gerrit.cloudera.org:8080/#/c/11047/3/be/src/exec/hdfs-avro-scanner-ir.cc@263
PS3, Line 263:       if(LIKELY(slot_byte_size == 4 || slot_byte_size == 8 || 
slot_byte_size == 16)) {
Added this line to exactly replicate the behavior below. PS1 & PS2 did not 
replicate it in the failing case.



-- 
To view, visit http://gerrit.cloudera.org:8080/11047
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic5be92912198af2a5e00053ceb9a4fab43ca6bb8
Gerrit-Change-Number: 11047
Gerrit-PatchSet: 3
Gerrit-Owner: Jim Apple <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jim Apple <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>
Gerrit-Comment-Date: Fri, 27 Jul 2018 16:50:23 +0000
Gerrit-HasComments: Yes

Reply via email to