VirtualBox

Changeset 28237 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 13, 2010 9:16:04 AM (15 years ago)
Author:
vboxsync
Message:

Guest Control: Update (fixed crash after unregistered extension).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestControl/service.cpp

    r28236 r28237  
    492492                 eFunction, cParms, paParms));
    493493    ASMBreakpoint();
    494     int rc;
     494    int rc = VINF_SUCCESS;
    495495    if (   eFunction == GUEST_EXEC_SEND_STATUS
    496496        && cParms    == 4)
     
    503503        paParms[4].getPointer(&data.pvData, &data.cbData);
    504504
    505         rc = mpfnHostCallback(mpvHostData, eFunction,
    506                               (void *)(&data), sizeof(data));
     505        if (mpfnHostCallback)
     506        {
     507            rc = mpfnHostCallback(mpvHostData, eFunction,
     508                                  (void *)(&data), sizeof(data));
     509        }
    507510    }
    508511    else
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