mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Correctly read all 8 bytes for the metadata offset
This commit is contained in:
parent
69bcc52ef3
commit
ebaecc47f4
@ -168,7 +168,7 @@ void DSF::File::read(bool readProperties, AudioProperties::ReadStyle propertiesS
|
||||
}
|
||||
|
||||
d->fileSize = readBlock(8).toInt64LE(0);
|
||||
d->metadataOffset = readBlock(8).toUInt32LE(0);
|
||||
d->metadataOffset = readBlock(8).toInt64LE(0);
|
||||
|
||||
// File is malformed or corrupted
|
||||
if(d->metadataOffset > d->fileSize) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user