mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #835] [MERGED] Prevent infinite loop when reading corrupted archive #1273
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/835
Author: @blokyk
Created: 4/24/2024
Status: ✅ Merged
Merged: 4/24/2024
Merged by: @adamhathcock
Base:
master← Head:fix-736📝 Commits (2)
dbbc7c8fix(tar): prevent infinite loop when reading corrupted archive9483856fmt📊 Changes
3 files changed (+19 additions, -0 deletions)
View changed files
📝
src/SharpCompress/Archives/Tar/TarArchive.cs(+4 -0)📝
tests/SharpCompress.Test/Tar/TarReaderTests.cs(+15 -0)➕
tests/TestArchives/Archives/TarCorrupted.tar(+0 -0)📄 Description
Fixing another infinite loop when reading corrupted tar archives. Tries to fix #736
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.