儲存庫 vbox 的更動 77773
- 時間撮記:
- 2019-3-18 下午10:33:07 (6 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Storage/VMDK.cpp
r76904 r77773 137 137 } SparseExtentHeader; 138 138 #pragma pack() 139 140 /** The maximum allowed descriptor size in the extent header in sectors. */ 141 #define VMDK_SPARSE_DESCRIPTOR_SIZE_MAX UINT64_C(20480) /* 10MB */ 139 142 140 143 /** VMDK capacity for a single chunk when 2G splitting is turned on. Should be … … 2584 2587 { 2585 2588 rc = vdIfError(pImage->pIfError, VERR_VD_VMDK_INVALID_HEADER, RT_SRC_POS, N_("VMDK: corrupted by CR/LF translation in '%s'"), pExtent->pszFullname); 2589 return rc; 2590 } 2591 if (RT_LE2H_U64(pHeader->descriptorSize) > VMDK_SPARSE_DESCRIPTOR_SIZE_MAX) 2592 { 2593 rc = vdIfError(pImage->pIfError, VERR_VD_VMDK_INVALID_HEADER, RT_SRC_POS, N_("VMDK: descriptor size out of bounds (%llu vs %llu) '%s'"), 2594 pExtent->pszFullname, RT_LE2H_U64(pHeader->descriptorSize), VMDK_SPARSE_DESCRIPTOR_SIZE_MAX); 2586 2595 return rc; 2587 2596 }
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器