mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-10 21:22:11 +00:00
[PR #893] [MERGED] Fix for Rar4 v20 compression. #1316
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/893
Author: @Nanook
Created: 2/7/2025
Status: ✅ Merged
Merged: 2/10/2025
Merged by: @adamhathcock
Base:
master← Head:rar_unpack20📝 Commits (1)
675cab3Fix for Rar4 v20 compression.📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/SharpCompress/Compressors/Rar/UnpackV1/Unpack20.cs(+1 -1)📄 Description
Fix for #216 which I had recently encountered too. This is a small change to CopyString20(), after making it I noticed the same condition already existed in CopyString(). So I'm confident it's good.
The fix has since been tested on over 300 archives that were failing to decompress with the latest SharpCompress and over 250ish were fixed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.