mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[ISO9660] Do not try to interpret an 0-length Continuation Area. Workarounds #770 until a better fix can be done.
This commit is contained in:
@@ -982,7 +982,8 @@ public sealed partial class ISO9660
|
||||
|
||||
errno = ReadSingleExtent(ca.offset, ca.ca_length, ca.block, out byte[] caData);
|
||||
|
||||
if(errno == ErrorNumber.NoError)
|
||||
// TODO: Check continuation area definition, this is not a proper fix
|
||||
if(errno == ErrorNumber.NoError && caData.Length > 0)
|
||||
DecodeSystemArea(caData, 0, (int)ca.ca_length, ref entry, out hasResourceFork);
|
||||
|
||||
systemAreaOff += ceLength;
|
||||
|
||||
Reference in New Issue
Block a user