vbox的更動 66608 路徑 trunk/src/VBox/HostDrivers
- 時間撮記:
- 2017-4-19 上午10:35:06 (8 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp
r66554 r66608 1188 1188 1189 1189 /* 1190 * Check each component. No parent references or double slashes. 1190 * The root slash should be alone to avoid UNC confusion. 1191 */ 1192 if (RTPATH_IS_SLASH(pszSrc[0])) 1193 return supR3HardenedSetError3(VERR_SUPLIB_PATH_NOT_CLEAN, pErrInfo, 1194 "The path is not clean of leading double slashes: '", pszPath, "'"); 1195 /* 1196 * Check each component. No parent references. 1191 1197 */ 1192 1198 pInfo->cComponents = 0; … … 1195 1201 { 1196 1202 /* Sanity checks. */ 1197 if (RTPATH_IS_SLASH(pszSrc[0])) /* can be relaxed if we care. */1198 return supR3HardenedSetError3(VERR_SUPLIB_PATH_NOT_CLEAN, pErrInfo,1199 "The path is not clean of double slashes: '", pszPath, "'");1200 1203 if ( pszSrc[0] == '.' 1201 1204 && pszSrc[1] == '.' … … 1227 1230 "The path is too long: '", pszPath, "'"); 1228 1231 } 1232 1233 /* Skip double slashes. */ 1234 while (RTPATH_IS_SLASH(*pszSrc)) 1235 pszSrc++; 1229 1236 } 1230 1237
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器