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 files9
bob11vrdp/cve-2022-39425Revision 1d03f54cf1ec
- ↑..Parent directory
- Makefile.kup
- UIKeyboardHandlerScale.cpp
- UIKeyboardHandlerScale.h
- UIMachineLogicScale.cpp
- UIMachineLogicScale.h
- UIMachineViewScale.cpp
- UIMachineViewScale.h
- UIMachineWindowScale.cpp
- UIMachineWindowScale.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
VirtualBox-6.1.38/src/VBox/Frontends/VirtualBox/src/runtime/scale/UIMachineViewScale.h
Text · 1,876 bytes/* $Id: UIMachineViewScale.h $ */
/** @file
* VBox Qt GUI - UIMachineViewScale class declaration.
*/
/*
* Copyright (C) 2010-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.
*/
#ifndef FEQT_INCLUDED_SRC_runtime_scale_UIMachineViewScale_h
#define FEQT_INCLUDED_SRC_runtime_scale_UIMachineViewScale_h
#ifndef RT_WITHOUT_PRAGMA_ONCE
# pragma once
#endif
/* Local includes */
#include "UIMachineView.h"
class UIMachineViewScale : public UIMachineView
{
Q_OBJECT;
protected:
/* Scale machine-view constructor: */
UIMachineViewScale( UIMachineWindow *pMachineWindow
, ulong uScreenId
#ifdef VBOX_WITH_VIDEOHWACCEL
, bool bAccelerate2DVideo
#endif
);
/* Scale machine-view destructor: */
virtual ~UIMachineViewScale() {}
private slots:
/* Slot to perform guest resize: */
void sltPerformGuestScale();
private:
/* Event handlers: */
bool eventFilter(QObject *pWatched, QEvent *pEvent);
/** Applies machine-view scale-factor. */
void applyMachineViewScaleFactor();
/** Resends guest size-hint. */
void resendSizeHint();
/* Private helpers: */
QSize sizeHint() const;
QRect workingArea() const;
QSize calculateMaxGuestSize() const;
void updateSliders();
/* Friend classes: */
friend class UIMachineView;
};
#endif /* !FEQT_INCLUDED_SRC_runtime_scale_UIMachineViewScale_h */