Tim Armstrong has posted comments on this change. Change subject: IMPALA-4707: fix use-after-free in QueryExecMgr ......................................................................
Patch Set 1: (2 comments) http://gerrit.cloudera.org:8080/#/c/5615/1/be/src/runtime/query-exec-mgr.cc File be/src/runtime/query-exec-mgr.cc: Line 151: qs = it->second; > can you give this a new variable name to make it clear that it's not the sa I ended up just using 'it' directly. We can also save a map looking by passing 'it' into erase below. Line 155: // someone else might have increased the refcnt in the meantime I won't touch this now but it doesn't seem like this should be possible. -- To view, visit http://gerrit.cloudera.org:8080/5615 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I329ff758a0de148a3bdfedc245e56c3a63255535 Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Tim Armstrong <[email protected]> Gerrit-Reviewer: Henry Robinson <[email protected]> Gerrit-Reviewer: Jim Apple <[email protected]> Gerrit-Reviewer: Marcel Kornacker <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-HasComments: Yes
