VirtualBox

Ignore:
Timestamp:
Sep 1, 2020 3:26:46 PM (4 years ago)
Author:
vboxsync
Message:

Shared Clipboard/Host Service: Bail out early in ShClSvcGuestDataReceived() when related event ID was not found. bugreF:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp

    r85980 r85981  
    12931293 * Notifies that clipboard data from the guest has been received.
    12941294 *
    1295  * @returns VBox status code.
     1295 * @returns VBox status code. Returns VERR_NOT_FOUND when related event ID was not found.
    12961296 * @param   pClient             Client the guest clipboard data was received for.
    12971297 * @param   pCmdCtx             Client command context to use.
     
    13201320    else
    13211321        idEvent = VBOX_SHCL_CONTEXTID_GET_EVENT(pCmdCtx->uContextID);
     1322
     1323    if (idEvent == NIL_SHCLEVENTID) /* Event not found? Bail out early. */
     1324        return VERR_NOT_FOUND;
    13221325
    13231326    int rc = VINF_SUCCESS;
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