From 84aedb8ac761117c0599e431850ab6442a7276fa Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 1 Nov 2018 20:28:09 +0100 Subject: [PATCH] removed uninitialized memory read in updateOwnCert() --- retroshare-gui/src/gui/HomePage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/retroshare-gui/src/gui/HomePage.cpp b/retroshare-gui/src/gui/HomePage.cpp index d3124a623..8ab551c28 100644 --- a/retroshare-gui/src/gui/HomePage.cpp +++ b/retroshare-gui/src/gui/HomePage.cpp @@ -50,9 +50,11 @@ HomePage::HomePage(QWidget *parent) : MainPage(parent), ui(new Ui::HomePage) { + mIncludeAllIPs = false; + ui->setupUi(this); - updateOwnCert(); + updateOwnCert(); connect(ui->addButton, SIGNAL(clicked()), this, SLOT(addFriend())); connect(ui->LoadCertFileButton, SIGNAL(clicked()), this, SLOT(loadCert())); @@ -81,8 +83,6 @@ HomePage::HomePage(QWidget *parent) : ui->runStartWizard_PB->hide(); // until future rework ui->LoadCertFileButton->hide(); // duplicates functionality => not good. - mIncludeAllIPs = false; - int S = QFontMetricsF(font()).height(); QString help_str = tr( "

  Welcome to Retroshare!

\