Exploit database

GH-557a35ec88cecc5153df8ffeda95d1c2

bob11vrdp/cve-2022-39425

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2022-39425

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files378Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

VirtualBox-6.1.38/src/VBox/Additions/x11/x11include/xorg-server-1.14.0/xf86CursorPriv.h

Text · 1,449 bytes

#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif

#ifndef _XF86CURSORPRIV_H
#define _XF86CURSORPRIV_H

#include "xf86Cursor.h"
#include "mipointrst.h"

typedef struct {
    Bool SWCursor;
    Bool isUp;
    Bool showTransparent;
    short HotX;
    short HotY;
    short x;
    short y;
    CursorPtr CurrentCursor, CursorToRestore;
    xf86CursorInfoPtr CursorInfoPtr;
    CloseScreenProcPtr CloseScreen;
    RecolorCursorProcPtr RecolorCursor;
    InstallColormapProcPtr InstallColormap;
    QueryBestSizeProcPtr QueryBestSize;
    miPointerSpriteFuncPtr spriteFuncs;
    Bool PalettedCursor;
    ColormapPtr pInstalledMap;
    Bool (*SwitchMode) (ScrnInfoPtr, DisplayModePtr);
    xf86EnableDisableFBAccessProc *EnableDisableFBAccess;
    CursorPtr SavedCursor;

    /* Number of requests to force HW cursor */
    int ForceHWCursorCount;
    Bool HWCursorForced;

    pointer transparentData;
} xf86CursorScreenRec, *xf86CursorScreenPtr;

void xf86SetCursor(ScreenPtr pScreen, CursorPtr pCurs, int x, int y);
void xf86SetTransparentCursor(ScreenPtr pScreen);
void xf86MoveCursor(ScreenPtr pScreen, int x, int y);
void xf86RecolorCursor(ScreenPtr pScreen, CursorPtr pCurs, Bool displayed);
Bool xf86InitHardwareCursor(ScreenPtr pScreen, xf86CursorInfoPtr infoPtr);

extern _X_EXPORT DevPrivateKeyRec xf86CursorScreenKeyRec;

#define xf86CursorScreenKey (&xf86CursorScreenKeyRec)

#endif                          /* _XF86CURSORPRIV_H */