Changeset 7465 for trunk/src/kernel32/handlenames.cpp
- Timestamp:
- Nov 27, 2001, 6:30:55 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/handlenames.cpp
r7441 r7465 416 416 // now append the rest of the specified name with the 417 417 // now resolved symbolic cut away 418 strncpy(pszTarget + pHandleName->ulTargetLength, 419 pszName + pHandleName->ulSymbolicLinkLength, 420 ulTargetLength - pHandleName->ulTargetLength); 418 if (ulTargetLength != pHandleName->ulTargetLength) 419 strncpy(pszTarget + pHandleName->ulTargetLength, 420 pszName + pHandleName->ulSymbolicLinkLength, 421 ulTargetLength - pHandleName->ulTargetLength); 422 423 // tell caller the name has been resolved 424 // (is different from the source name) 425 rc = TRUE; 421 426 } 422 427
Note:
See TracChangeset
for help on using the changeset viewer.