Changeset 36325 in vbox for trunk/src/VBox/RDP
- Timestamp:
- Mar 21, 2011 1:23:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/RDP/client/vrdp/rdpusb.c
r36320 r36325 229 229 /** Allocate (and return) a buffer for a device list in VRDP wire format, 230 230 * and populate from a PUSBDEVICE linked list. @a pLen takes the length of 231 * the new list. */ 231 * the new list. 232 * See @a Console::processRemoteUSBDevices for the receiving end. */ 232 233 static void *buildWireListFromDevices(PUSBDEVICE pDevices, int *pLen) 233 234 { … … 259 260 + RT_BOOL(pEntry->oSerialNumber), 260 261 free(pBuf), NULL); 261 AssertReturnStmt( pEntry->oManufacturer == 0262 || pBuf[pEntry->oManufacturer] != '\0',263 free(pBuf), NULL);264 AssertReturnStmt( pEntry->oProduct == 0265 || pBuf[pEntry->oProduct] != '\0',266 free(pBuf), NULL);267 AssertReturnStmt( pEntry->oSerialNumber == 0268 || pBuf[pEntry->oSerialNumber] != '\0',269 free(pBuf), NULL);270 262 AssertReturnStmt(cZeros == 0 || pBuf[iCurrent + iNext - 1] == '\0', 271 263 free(pBuf), NULL);
Note:
See TracChangeset
for help on using the changeset viewer.