VirtualBox

Changeset 90581 in vbox for trunk


Ignore:
Timestamp:
Aug 9, 2021 4:12:57 PM (3 years ago)
Author:
vboxsync
Message:

Additions: X11: VBoxSVGA: prevent VBoxClient crash when X11 is not running, ​bugref:10028.

Crash happened when VM had VBoxSVGA graphics attachment while guest was
running Wayland environment. No X11 connection was possible. Such case
was not properly handled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp

    r90324 r90581  
    12591259static void setXrandrTopology(struct RANDROUTPUT *paOutputs)
    12601260{
     1261    if (!x11Context.pDisplay)
     1262    {
     1263        VBClLogInfo("not connected to X11\n");
     1264        return;
     1265    }
     1266
    12611267    XGrabServer(x11Context.pDisplay);
    12621268    if (x11Context.fWmwareCtrlExtention)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette