VirtualBox

Ignore:
Timestamp:
Dec 19, 2017 2:00:01 PM (7 years ago)
Author:
vboxsync
Message:

Backed out r119656 as it was not the fix I asked for.

File:
1 edited

Legend:

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

    r70108 r70221  
    619619    {
    620620        char szFlags[GUEST_PROP_MAX_FLAGS_LEN];
    621         rc = GuestPropWriteFlags(pProp->mFlags, szFlags, sizeof(szFlags));
     621        rc = GuestPropWriteFlags(pProp->mFlags, szFlags);
    622622        if (RT_SUCCESS(rc))
    623623        {
     
    857857
    858858    char            szFlags[GUEST_PROP_MAX_FLAGS_LEN];
    859     int rc = GuestPropWriteFlags(pProp->mFlags, szFlags, sizeof(szFlags));
     859    int rc = GuestPropWriteFlags(pProp->mFlags, szFlags);
    860860    if (RT_FAILURE(rc))
    861861        return rc;
     
    10161016    {
    10171017        char szFlags[GUEST_PROP_MAX_FLAGS_LEN];
    1018         rc = GuestPropWriteFlags(prop.mFlags, szFlags, sizeof(szFlags));
     1018        rc = GuestPropWriteFlags(prop.mFlags, szFlags);
    10191019        if (RT_SUCCESS(rc))
    10201020        {
     
    12151215            /* Send out a host notification */
    12161216            const char *pszValue = prop.mValue.c_str();
    1217             rc = GuestPropWriteFlags(prop.mFlags, szFlags, sizeof(szFlags));
     1217            rc = GuestPropWriteFlags(prop.mFlags, szFlags);
    12181218            if (RT_SUCCESS(rc))
    12191219                rc = notifyHost(pszProperty, pszValue, u64Timestamp, szFlags);
     
    14061406
    14071407    char szFlags[GUEST_PROP_MAX_FLAGS_LEN];
    1408     int rc = GuestPropWriteFlags(pProp->mFlags, szFlags, sizeof(szFlags));
     1408    int rc = GuestPropWriteFlags(pProp->mFlags, szFlags);
    14091409    if (RT_FAILURE(rc))
    14101410        RTStrPrintf(szFlags, sizeof(szFlags), "???");
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