Changeset 58232 in vbox
- Timestamp:
- Oct 14, 2015 12:03:29 PM (9 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
-
include/GuestDnDPrivate.h (modified) (1 diff)
-
src-client/GuestDnDPrivate.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestDnDPrivate.h
r58230 r58232 596 596 return VINF_SUCCESS; 597 597 } 598 599 if (!RTStrIsValidEncoding(pszList)) 600 return VERR_INVALID_PARAMETER; 598 601 599 602 RTCList<RTCString> lstURIOrg = RTCString(pszList, cbList).split("\r\n"); -
trunk/src/VBox/Main/src-client/GuestDnDPrivate.cpp
r58230 r58232 388 388 AssertReturn(DragAndDropSvc::CB_MAGIC_DND_HG_REQ_DATA == pCBData->hdr.u32Magic, VERR_INVALID_PARAMETER); 389 389 390 if ( pCBData->cbFormat == 0 391 || pCBData->cbFormat > _64K) /** @todo Make this configurable? */ 390 if ( pCBData->cbFormat == 0 391 || pCBData->cbFormat > _64K /** @todo Make this configurable? */ 392 || pCBData->pszFormat == NULL) 393 { 394 rc = VERR_INVALID_PARAMETER; 395 } 396 else if (!RTStrIsValidEncoding(pCBData->pszFormat)) 392 397 { 393 398 rc = VERR_INVALID_PARAMETER; … … 427 432 AssertReturn(DragAndDropSvc::CB_MAGIC_DND_GH_ACK_PENDING == pCBData->hdr.u32Magic, VERR_INVALID_PARAMETER); 428 433 429 if ( pCBData->cbFormat == 0 430 || pCBData->cbFormat > _64K) /** @todo Make the maximum size configurable? */ 434 if ( pCBData->cbFormat == 0 435 || pCBData->cbFormat > _64K /** @todo Make the maximum size configurable? */ 436 || pCBData->pszFormat == NULL) 437 { 438 rc = VERR_INVALID_PARAMETER; 439 } 440 else if (!RTStrIsValidEncoding(pCBData->pszFormat)) 431 441 { 432 442 rc = VERR_INVALID_PARAMETER;
Note:
See TracChangeset
for help on using the changeset viewer.

