- Timestamp:
- Jul 17, 2020 10:08:26 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/DragAndDrop/DnDTransferObject.cpp
r85371 r85372 33 33 #include <VBox/log.h> 34 34 35 35 36 /********************************************************************************************************************************* 36 37 * Prototypes * … … 95 96 96 97 /* Save the index (in characters) where the destination part starts. */ 97 pObj->idxDst = (uint16_t)RTStrNLen(szPath, RT STR_MAX);98 AssertReturn(pObj->idxDst != RTSTR_MAX, VERR_INVALID_PARAMETER);98 pObj->idxDst = (uint16_t)RTStrNLen(szPath, RTPATH_MAX); 99 AssertReturn(pObj->idxDst <= RTPATH_MAX, VERR_INVALID_PARAMETER); 99 100 } 100 101 else
Note:
See TracChangeset
for help on using the changeset viewer.