From d7dab2ae88182ba5f421882793ce82226c22c6ae Mon Sep 17 00:00:00 2001 From: csoler Date: Sat, 9 May 2020 10:55:19 +0200 Subject: [PATCH] fixed uninitialized memory read causing a crash (reportted y sehraf) --- retroshare-gui/src/gui/Identity/IdDialog.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/Identity/IdDialog.cpp b/retroshare-gui/src/gui/Identity/IdDialog.cpp index 1a56385de..97a00440f 100644 --- a/retroshare-gui/src/gui/Identity/IdDialog.cpp +++ b/retroshare-gui/src/gui/Identity/IdDialog.cpp @@ -180,8 +180,9 @@ IdDialog::IdDialog(QWidget *parent) : MainPage(parent), ui(new Ui::IdDialog) ui->treeWidget_membership->clear(); ui->treeWidget_membership->setItemDelegateForColumn(CIRCLEGROUP_CIRCLE_COL_GROUPNAME,new GxsIdTreeItemDelegate()); - mExternalOtherCircleItem = NULL ; - mExternalBelongingCircleItem = NULL ; + mExternalOtherCircleItem = NULL ; + mExternalBelongingCircleItem = NULL ; + mMyCircleItem = NULL ; /* Setup UI helper */ mStateHelper = new UIStateHelper(this);