Lars Volker has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/9951


Change subject: IMPALA-6824: Fix crash in 
RuntimeProfile::EventSequence::AddNewerEvents()
......................................................................

IMPALA-6824: Fix crash in RuntimeProfile::EventSequence::AddNewerEvents()

When events_ is empty in runtime-profile-counters.h:347, events_.back()
is undefined. This can lead to a crash. The fix is to check for
events_.empty() before calling back().

TODO: Find a way to test this
Change-Id: I76d30517544e8aa40e7d041f6a65a5dd361ae3c1
---
M be/src/util/runtime-profile-counters.h
1 file changed, 3 insertions(+), 2 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I76d30517544e8aa40e7d041f6a65a5dd361ae3c1
Gerrit-Change-Number: 9951
Gerrit-PatchSet: 1
Gerrit-Owner: Lars Volker <l...@cloudera.com>

Reply via email to