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 files53
bob11vrdp/cve-2022-39425Revision 1d03f54cf1ec
- ↑..Parent directory
- win/
- xpcom/
- AdditionsFacilityImpl.cpp
- AudioDriver.cpp
- BusAssignmentManager.cpp
- ClientTokenHolder.cpp
- CloudGateway.cpp
- ConsoleImpl.cpp
- ConsoleImpl2.cpp
- ConsoleImplTeleporter.cpp
- ConsoleVRDPServer.cpp
- DisplayImpl.cpp
- DisplayImplLegacy.cpp
- DisplaySourceBitmapImpl.cpp
- DrvAudioRec.cpp
- DrvAudioVRDE.cpp
- EBMLWriter.cpp
- EmulatedUSBImpl.cpp
- GuestCtrlImpl.cpp
- GuestCtrlPrivate.cpp
- GuestDirectoryImpl.cpp
- GuestDnDPrivate.cpp
- GuestDnDSourceImpl.cpp
- GuestDnDTargetImpl.cpp
- GuestFileImpl.cpp
- GuestFsObjInfoImpl.cpp
- GuestImpl.cpp
- GuestProcessImpl.cpp
- GuestSessionImpl.cpp
- GuestSessionImplTasks.cpp
- HGCM.cpp
- HGCMObjects.cpp
- HGCMThread.cpp
- KeyboardImpl.cpp
- MachineDebuggerImpl.cpp
- Makefile.kup
- MouseImpl.cpp
- PCIRawDevImpl.cpp
- README.testing
- Recording.cpp
- RecordingInternals.cpp
- RecordingStream.cpp
- RecordingUtils.cpp
- RemoteUSBBackend.cpp
- RemoteUSBDeviceImpl.cpp
- SessionImpl.cpp
- USBDeviceImpl.cpp
- UsbCardReader.cpp
- UsbWebcamInterface.cpp
- VBoxDriversRegister.cpp
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
VirtualBox-6.1.38/src/VBox/Main/src-client/RecordingInternals.cpp
C++ · 1,553 bytes/* $Id: RecordingInternals.cpp $ */
/** @file
* Recording internals code.
*/
/*
* Copyright (C) 2012-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.
*/
#include "RecordingInternals.h"
#include <iprt/assert.h>
#include <iprt/mem.h>
#ifdef VBOX_WITH_AUDIO_RECORDING
/**
* Frees a previously allocated recording audio frame.
*
* @param pFrame Audio frame to free. The pointer will be invalid after return.
*/
void RecordingAudioFrameFree(PRECORDINGAUDIOFRAME pFrame)
{
if (!pFrame)
return;
if (pFrame->pvBuf)
{
Assert(pFrame->cbBuf);
RTMemFree(pFrame->pvBuf);
}
RTMemFree(pFrame);
pFrame = NULL;
}
#endif
/**
* Frees a recording video frame.
*
* @returns IPRT status code.
* @param pFrame Pointer to video frame to free. The pointer will be invalid after return.
*/
void RecordingVideoFrameFree(PRECORDINGVIDEOFRAME pFrame)
{
if (!pFrame)
return;
if (pFrame->pu8RGBBuf)
{
Assert(pFrame->cbRGBBuf);
RTMemFree(pFrame->pu8RGBBuf);
}
RTMemFree(pFrame);
}