Changeset 69875 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Nov 29, 2017 10:40:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/fs/ntfsvfs.cpp
r69874 r69875 848 848 PNTFSATTRIBHDR pAttrHdr = (PNTFSATTRIBHDR)&pbRec[offRec]; 849 849 uint32_t const cbAttrib = RT_LE2H_U32(pAttrHdr->cbAttrib); 850 uint32_t const cbMin = !pAttrHdr->fNonResident 851 : !pAttrHdr->u.NonRes.uCompressionUnit == 0 ? NTFSATTRIBHDR_SIZE_NONRES_UNCOMPRESSED852 : 850 uint32_t const cbMin = !pAttrHdr->fNonResident ? NTFSATTRIBHDR_SIZE_RESIDENT 851 : pAttrHdr->u.NonRes.uCompressionUnit == 0 ? NTFSATTRIBHDR_SIZE_NONRES_UNCOMPRESSED 852 : NTFSATTRIBHDR_SIZE_NONRES_COMPRESSED; 853 853 if (cbAttrib < cbMin) 854 854 return RTERRINFO_LOG_REL_SET_F(pErrInfo, VERR_VFS_BOGUS_FORMAT,
Note:
See TracChangeset
for help on using the changeset viewer.