Changeset 76306 in vbox for trunk/src/VBox
- Timestamp:
- Dec 20, 2018 12:13:23 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/fs/extvfs.cpp
r76305 r76306 1044 1044 else 1045 1045 { 1046 uint32_t cEntriesPerBlockMap = pThis->cbBlock << sizeof(uint32_t);1047 uint32_t *paBlockMap = (uint32_t *)RTMemTmpAllocZ( cEntriesPerBlockMap * sizeof(uint32_t));1046 uint32_t cEntriesPerBlockMap = (uint32_t)(pThis->cbBlock >> sizeof(uint32_t)); 1047 uint32_t *paBlockMap = (uint32_t *)RTMemTmpAllocZ(pThis->cbBlock); 1048 1048 1049 1049 if (!paBlockMap) … … 1206 1206 else 1207 1207 { 1208 if ( off + cbRead <= (uint64_t)pInode->ObjInfo.cbObject)1208 if ((uint64_t)off + cbRead <= (uint64_t)pInode->ObjInfo.cbObject) 1209 1209 rc = rtFsExtInode_Read(pThis->pVol, pThis->pInode, (uint64_t)off, pSgBuf->paSegs[0].pvSeg, cbRead, NULL); 1210 1210 else
Note:
See TracChangeset
for help on using the changeset viewer.