mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Hang while opening BZip2 #638
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?
Originally created by @fuzzah on GitHub (May 15, 2024).
In continuation of #841.
The following code results in an infinite loop in SharpCompress:
The stack trace (created with the
dotnet stacktool):This byte sequence written to a file gets detected as "bzip2 compressed data" by the
filetool, butbzip2fails to read it with the error message "bzip2: Compressed file ends unexpectedly".Found by Linux Verification Center (linuxtesting.org) with AFL++ and SharpFuzz.
Reporter: Valery Korolyov (v.korolyov@gardatech.ru)
Organization: Garda Technologies (info@gardatech.ru)