VirtualBox

Changeset 82482 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 7, 2019 1:07:31 AM (5 years ago)
Author:
vboxsync
Message:

VBoxSharedClipboardSvc.cpp: Must reject future saved state version that we don't know. bugref:9437

File:
1 edited

Legend:

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

    r82481 r82482  
    22612261        return svcLoadStateV0(u32ClientID, pvClient, pSSM, uVersion);
    22622262
    2263     if (lenOrVer >= VBOX_SHCL_SAVED_STATE_VER_6_1B2)
     2263    if (   lenOrVer >= VBOX_SHCL_SAVED_STATE_VER_6_1B2
     2264        && lenOrVer <= VBOX_SHCL_SAVED_STATE_VER_CURRENT)
    22642265    {
    22652266        if (lenOrVer >= VBOX_SHCL_SAVED_STATE_VER_6_1RC1)
     
    23292330    else
    23302331    {
    2331         LogRel(("Shared Clipboard: Unknown saved state version (%#x)\n", lenOrVer));
     2332        LogRel(("Shared Clipboard: Unsupported saved state version (%#x)\n", lenOrVer));
    23322333        return VERR_SSM_DATA_UNIT_FORMAT_CHANGED;
    23332334    }
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