[PR #220] [MERGED] verify RAR crc on header and file data #909

Open
opened 2026-01-29 22:18:10 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/220
Author: @coderb
Created: 4/4/2017
Status: Merged
Merged: 4/7/2017
Merged by: @adamhathcock

Base: masterHead: master


📝 Commits (1)

  • 97d5e0a verify rar CRC on header and file data

📊 Changes

9 files changed (+146 additions, -16 deletions)

View changed files

📝 src/SharpCompress/Common/Rar/Headers/RarHeader.cs (+25 -7)
📝 src/SharpCompress/Common/Rar/Headers/RarHeaderFactory.cs (+2 -2)
src/SharpCompress/Common/Rar/RarCrcBinaryReader.cs (+40 -0)
📝 src/SharpCompress/Common/Rar/RarCryptoBinaryReader.cs (+24 -3)
📝 src/SharpCompress/Compressors/Rar/MultiVolumeReadOnlyStream.cs (+5 -0)
📝 src/SharpCompress/Compressors/Rar/RarCRC.cs (+4 -0)
src/SharpCompress/Compressors/Rar/RarCrcStream.cs (+42 -0)
📝 src/SharpCompress/IO/MarkingBinaryReader.cs (+2 -2)
📝 src/SharpCompress/Readers/Rar/RarReader.cs (+2 -2)

📄 Description

verify rar file crc checksums:

  • header records
  • decompressed file payload

tested and works with:

  • typical rar files
  • rar files with encrypted headers
  • multipart rar files

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/adamhathcock/sharpcompress/pull/220 **Author:** [@coderb](https://github.com/coderb) **Created:** 4/4/2017 **Status:** ✅ Merged **Merged:** 4/7/2017 **Merged by:** [@adamhathcock](https://github.com/adamhathcock) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`97d5e0a`](https://github.com/adamhathcock/sharpcompress/commit/97d5e0aac40334213c3a5619fee9470cebb01b0b) verify rar CRC on header and file data ### 📊 Changes **9 files changed** (+146 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `src/SharpCompress/Common/Rar/Headers/RarHeader.cs` (+25 -7) 📝 `src/SharpCompress/Common/Rar/Headers/RarHeaderFactory.cs` (+2 -2) ➕ `src/SharpCompress/Common/Rar/RarCrcBinaryReader.cs` (+40 -0) 📝 `src/SharpCompress/Common/Rar/RarCryptoBinaryReader.cs` (+24 -3) 📝 `src/SharpCompress/Compressors/Rar/MultiVolumeReadOnlyStream.cs` (+5 -0) 📝 `src/SharpCompress/Compressors/Rar/RarCRC.cs` (+4 -0) ➕ `src/SharpCompress/Compressors/Rar/RarCrcStream.cs` (+42 -0) 📝 `src/SharpCompress/IO/MarkingBinaryReader.cs` (+2 -2) 📝 `src/SharpCompress/Readers/Rar/RarReader.cs` (+2 -2) </details> ### 📄 Description verify rar file crc checksums: - header records - decompressed file payload tested and works with: - typical rar files - rar files with encrypted headers - multipart rar files --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 22:18:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#909