Changeset 36214 in vbox for trunk/include
- Timestamp:
- Mar 8, 2011 6:33:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestPropertySvc.h
r36213 r36214 115 115 * RDONLYGUEST, RDONLYHOST and RDONLY 116 116 */ 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. */ 117 123 enum { MAX_FLAGS_LEN = sizeof("TRANSIENT_RESET, RDONLYGUEST") }; 118 124 … … 152 158 unsigned i = 0; 153 159 for (; i < RT_ELEMENTS(s_aFlagList); ++i) 154 {155 160 if (RTStrNICmp(pcszNext, flagName(s_aFlagList[i]), 156 161 flagNameLen(s_aFlagList[i])) == 0) 157 162 break; 158 }159 163 if (RT_ELEMENTS(s_aFlagList) == i) 160 164 rc = VERR_PARSE_ERROR;
Note:
See TracChangeset
for help on using the changeset viewer.