- Timestamp:
- Jun 9, 2017 7:37:52 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/formats/iso9660.h
r67278 r67326 155 155 /** 0x00: Length of this record in bytes. */ 156 156 uint8_t cbDirRec; 157 /** 0x01: Extended attribute record length in bytes?*/158 uint8_t c bExtAttr;157 /** 0x01: Extended attribute record length in logical blocks. */ 158 uint8_t cExtAttrBlocks; 159 159 /** 0x02: Location of extent (logical block number). 160 160 * @note Misaligned. */ -
trunk/src/VBox/Runtime/common/fs/iso9660vfs.cpp
r66768 r67326 278 278 pCore->cExtents = 1; 279 279 pCore->FirstExtent.cbExtent = pCore->cbObject; 280 pCore->FirstExtent.offDisk = ISO9660_GET_ENDIAN(&pDirRec->offExtent) * (uint64_t)pVol->cbBlock;280 pCore->FirstExtent.offDisk = (ISO9660_GET_ENDIAN(&pDirRec->offExtent) + pDirRec->cExtAttrBlocks) * (uint64_t)pVol->cbBlock; 281 281 282 282 rtFsIso9660DateTime2TimeSpec(&pCore->ModificationTime, &pDirRec->RecTime); … … 1441 1441 offRec, 1442 1442 pDirRec->cbDirRec, 1443 pDirRec->c bExtAttr,1443 pDirRec->cExtAttrBlocks, 1444 1444 ISO9660_GET_ENDIAN(&pDirRec->cbData), 1445 1445 ISO9660_GET_ENDIAN(&pDirRec->offExtent), … … 1747 1747 1748 1748 Log2(("ISO9660: RootDir.cbDirRec: %#RX8\n", pVolDesc->RootDir.DirRec.cbDirRec)); 1749 Log2(("ISO9660: RootDir.c bExtAttr: %#RX8\n", pVolDesc->RootDir.DirRec.cbExtAttr));1749 Log2(("ISO9660: RootDir.cExtAttrBlocks: %#RX8\n", pVolDesc->RootDir.DirRec.cExtAttrBlocks)); 1750 1750 Log2(("ISO9660: RootDir.offExtent: {%#RX32,%#RX32}\n", RT_BE2H_U32(pVolDesc->RootDir.DirRec.offExtent.be), RT_LE2H_U32(pVolDesc->RootDir.DirRec.offExtent.le))); 1751 1751 Log2(("ISO9660: RootDir.cbData: {%#RX32,%#RX32}\n", RT_BE2H_U32(pVolDesc->RootDir.DirRec.cbData.be), RT_LE2H_U32(pVolDesc->RootDir.DirRec.cbData.le)));
Note:
See TracChangeset
for help on using the changeset viewer.