VirtualBox

Changeset 40681 in vbox


Ignore:
Timestamp:
Mar 28, 2012 2:33:04 PM (13 years ago)
Author:
vboxsync
Message:

GuestControl/service: Be compatible to older client when there was enough parameter space but wrong parameter types.

File:
1 edited

Legend:

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

    r40657 r40681  
    636636    {
    637637        rc = paramBufferAssign(paParms, cParms, &pCmd->mParmBuf);
     638
     639        /* Has there been enough parameter space but the wrong parameter types
     640         * were submitted -- maybe the client was just asking for the next upcoming
     641         * host message?
     642         *
     643         * Note: To keep this compatible to older clients we return VERR_TOO_MUCH_DATA
     644         *       in every case. */
     645        if (RT_FAILURE(rc))
     646            rc = VERR_TOO_MUCH_DATA;
    638647    }
    639648
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