Dan Burkert has submitted this change and it was merged.

Change subject: Fix use after free in RowSetTree
......................................................................


Fix use after free in RowSetTree

This fixes a use after free bug which only causes issues on OS X. libstdcxx's
ref-counted strings on libstdc++ hide the bug by not destructing the stack
allocated string, because it had been copied elsewhere in the meantime.

Change-Id: Id640ec1f1092a28cbba00becebb8ff2e81828b77
Reviewed-on: http://gerrit.cloudera.org:8080/2816
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>
---
M src/kudu/tablet/rowset_tree.cc
1 file changed, 7 insertions(+), 5 deletions(-)

Approvals:
  Adar Dembo: Looks good to me, approved
  Kudu Jenkins: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id640ec1f1092a28cbba00becebb8ff2e81828b77
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Dan Burkert <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Dan Burkert <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to