mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-10 05:31:29 +00:00
[PR #1175] Fix DataDescriptorStream infinite loop on signature boundary match #1613
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/1175
Author: @Copilot
Created: 1/28/2026
Status: 🔄 Open
Base:
release← Head:copilot/fix-data-descriptor-stream-bug📝 Commits (4)
82071afInitial planc726a13Fix DataDescriptorStream boundary bug to prevent infinite loope896179Add regression test for DataDescriptorStream boundary bugc994a9fFix DataDescriptorStream to handle legitimate cross-boundary signatures📊 Changes
2 files changed (+123 additions, -0 deletions)
View changed files
📝
src/SharpCompress/IO/DataDescriptorStream.cs(+32 -0)📝
tests/SharpCompress.Test/Zip/ZipReaderTests.cs(+91 -0)📄 Description
Fix DataDescriptorStream boundary bug when signature starts at buffer edge
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.