You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CID 276013: Uninitialized members (UNINIT_CTOR)
Non-static class member "m_isNew" is not initialized in this constructor nor in any functions that it calls.
2 new defect(s) introduced to IJHack/qtpass in #367 found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)
** CID 276014: Error handling issues (CHECKED_RETURN)
/src/mainwindow.cpp: 903 in MainWindow::setPassword(QString, bool)()
*** CID 276014: Error handling issues (CHECKED_RETURN)
/src/mainwindow.cpp: 903 in MainWindow::setPassword(QString, bool)()
897 void MainWindow::setPassword(QString file, bool isNew) {
898 PasswordDialog d(QtPassSettings::getPasswordConfiguration(), file, isNew,
899 this);
900 connect(QtPassSettings::getPass(), &Pass::finishedShow, &d,
901 &PasswordDialog::setPass);
902
903 d.exec();
904 }
905
906 /**
907 * @brief MainWindow::on_addButton_clicked add a new password by showing a
908 * number of dialogs.
** CID 276013: Uninitialized members (UNINIT_CTOR)
/src/passworddialog.cpp: 23 in PasswordDialog::PasswordDialog(const PasswordConfiguration &, QWidget *)()
*** CID 276013: Uninitialized members (UNINIT_CTOR)
/src/passworddialog.cpp: 23 in PasswordDialog::PasswordDialog(const PasswordConfiguration &, QWidget *)()
17 m_templating = false;
18 m_allFields = false;
19
20 ui->setupUi(this);
21 setLength(m_passConfig.length);
22 setPasswordCharTemplate(m_passConfig.selected);
23 }
24
25 /**
26 * @brief PasswordDialog::PasswordDialog complete constructor.
27 * @param passConfig configuration constant
28 * @param file
The text was updated successfully, but these errors were encountered: