Exploit databaseDownload repository ZIP
GH-557a35ec88cecc5153df8ffeda95d1c2
bob11vrdp/cve-2022-39425
Sources for CVE-2022-39425
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files64
bob11vrdp/cve-2022-39425Revision 1d03f54cf1ec
- ↑..Parent directory
- graphics/
- Makefile.kup
- QIAdvancedSlider.cpp
- QIAdvancedSlider.h
- QIArrowButtonPress.cpp
- QIArrowButtonPress.h
- QIArrowButtonSwitch.cpp
- QIArrowButtonSwitch.h
- QIArrowSplitter.cpp
- QIArrowSplitter.h
- QIComboBox.cpp
- QIComboBox.h
- QIDialog.cpp
- QIDialog.h
- QIDialogButtonBox.cpp
- QIDialogButtonBox.h
- QIDialogContainer.cpp
- QIDialogContainer.h
- QIFileDialog.cpp
- QIFileDialog.h
- QIFlowLayout.cpp
- QIFlowLayout.h
- QIInputDialog.cpp
- QIInputDialog.h
- QILabel.cpp
- QILabel.h
- QILabelSeparator.cpp
- QILabelSeparator.h
- QILineEdit.cpp
- QILineEdit.h
- QIMainDialog.cpp
- QIMainDialog.h
- QIManagerDialog.cpp
- QIManagerDialog.h
- QIMenu.cpp
- QIMenu.h
- QIMessageBox.cpp
- QIMessageBox.h
- QIProcess.cpp
- QIProcess.h
- QIRichTextLabel.cpp
- QIRichTextLabel.h
- QIRichToolButton.cpp
- QIRichToolButton.h
- QISplitter.cpp
- QISplitter.h
- QIStatusBar.cpp
- QIStatusBar.h
- QIStatusBarIndicator.cpp
- QIStatusBarIndicator.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
VirtualBox-6.1.38/src/VBox/Frontends/VirtualBox/src/extensions/QIProcess.cpp
C++ · 2,038 bytes/* $Id: QIProcess.cpp $ */
/** @file
* VBox Qt GUI - Qt extensions: QIProcess class implementation.
*/
/*
* Copyright (C) 2006-2020 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the terms of the GNU
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
/* GUI includes: */
#include "QIProcess.h"
/* External includes: */
#ifdef VBOX_WS_X11
# include <sys/wait.h>
#endif
QIProcess::QIProcess(QObject *pParent /* = 0 */)
: QProcess(pParent)
{
}
/* static */
QByteArray QIProcess::singleShot(const QString &strProcessName, int iTimeout /* = 5000 */)
{
// WORKAROUND:
// Why is it really needed is because of Qt4.3 bug with QProcess.
// This bug is about QProcess sometimes (~70%) do not receive
// notification about process was finished, so this makes
// 'bool QProcess::waitForFinished (int)' block the GUI thread and
// never dismissed with 'true' result even if process was really
// started&finished. So we just waiting for some information
// on process output and destroy the process with force. Due to
// QProcess::~QProcess() has the same 'waitForFinished (int)' blocker
// we have to change process state to QProcess::NotRunning.
/// @todo Do we still need this?
QByteArray result;
QIProcess process;
process.start(strProcessName);
bool firstShotReady = process.waitForReadyRead(iTimeout);
if (firstShotReady)
result = process.readAllStandardOutput();
process.setProcessState(QProcess::NotRunning);
#ifdef VBOX_WS_X11
int iStatus;
if (process.pid() > 0)
waitpid(process.pid(), &iStatus, 0);
#endif /* VBOX_WS_X11 */
return result;
}