mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-11-15 17:02:03 +00:00
ReadExactAsync throws IncompleteArchiveException, so the async decrypt path's EndOfStreamException catch never ran. On net48, EntryStream.Dispose skips the entry through the async path, so its IncompleteArchiveException replaced the InvalidFormatException from the synchronous read and failed Rar_Multi_Reader_Encrypted. Sync and async now report truncated encrypted data as InvalidFormatException. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>