Jim Apple has uploaded a new patch set (#3). Change subject: IMPALA-5031: Set DiskIoMgr::ScanRange::is_cancelled_ before read ......................................................................
IMPALA-5031: Set DiskIoMgr::ScanRange::is_cancelled_ before read Reading a uninitialized memory as a boolean is undefined behavior when it isn't the bit pattern for true or false. Clang's undefined behavior sanitizer caught is_cancelled_ being used before being initialized; this patch also initializes the other booleans in DiskIoMgr::ScanRange to prevent similar undefined behavior. Change-Id: I22898ec96ac44c4902f8072f27453cfc58358cae --- M be/src/runtime/disk-io-mgr.h 1 file changed, 6 insertions(+), 6 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/94/7294/3 -- To view, visit http://gerrit.cloudera.org:8080/7294 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: I22898ec96ac44c4902f8072f27453cfc58358cae Gerrit-PatchSet: 3 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Jim Apple <jbapple-imp...@apache.org> Gerrit-Reviewer: Jim Apple <jbapple-imp...@apache.org> Gerrit-Reviewer: Michael Ho <k...@cloudera.com>