VirtualBox

Changeset 36214 in vbox for trunk/include


Ignore:
Timestamp:
Mar 8, 2011 6:33:38 PM (14 years ago)
Author:
vboxsync
Message:

GuestProps: r=bird: Another Q for Michael.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/GuestPropertySvc.h

    r36213 r36214  
    115115 * RDONLYGUEST, RDONLYHOST and RDONLY
    116116 */
     117/** @todo r=bird: Michael, where to do enforce the "only every return one of
     118 *        R*"? I cannot see it? */
     119/** @todo r=bird: Should TRANSIENT_RESET imply TRANSIENT or not? See
     120 *        VBoxServicePropCache.cpp.  You've introduced (or maybe just made an
     121 *        existing one more obvious - see abouve) a buffer overrun in
     122 *        writeFlags now. */
    117123enum { MAX_FLAGS_LEN =   sizeof("TRANSIENT_RESET, RDONLYGUEST") };
    118124
     
    152158            unsigned i = 0;
    153159            for (; i < RT_ELEMENTS(s_aFlagList); ++i)
    154             {
    155160                if (RTStrNICmp(pcszNext, flagName(s_aFlagList[i]),
    156161                               flagNameLen(s_aFlagList[i])) == 0)
    157162                    break;
    158             }
    159163            if (RT_ELEMENTS(s_aFlagList) == i)
    160164                rc = VERR_PARSE_ERROR;
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