Changeset 66675 in vbox for trunk/src/VBox/Runtime/common/vfs
- Timestamp:
- Apr 26, 2017 10:54:22 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/vfs/vfschain.cpp
r66652 r66675 450 450 /* Has escape sequences, must unescape it. */ 451 451 char *pszDst = pszCopy; 452 while (cch )452 while (cch-- > 0) 453 453 { 454 454 char ch = *psz++; 455 if (ch == '\\' )455 if (ch == '\\' && cch > 0) 456 456 { 457 457 char ch2 = psz[2]; … … 459 459 { 460 460 psz++; 461 cch--; 461 462 ch = ch2; 462 463 }
Note:
See TracChangeset
for help on using the changeset viewer.