mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1171067: Properly read 64bits header's size. r=kentuckyfriedtakahe
This commit is contained in:
parent
164cbeebb0
commit
2def0bc43d
@ -71,7 +71,7 @@ Box::Box(BoxContext* aContext, uint64_t aOffset, const Box* aParent)
|
||||
headerRange.mEnd + sizeof(bigLength));
|
||||
if ((mParent && !mParent->mRange.Contains(bigLengthRange)) ||
|
||||
!byteRange->Contains(bigLengthRange) ||
|
||||
!mContext->mSource->CachedReadAt(aOffset, bigLength,
|
||||
!mContext->mSource->CachedReadAt(aOffset + 8, bigLength,
|
||||
sizeof(bigLength), &bytes) ||
|
||||
bytes != sizeof(bigLength)) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user