]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Merge pull request #3082 from stoeckmann/bzip2_dead
authorDustin L. Howett <dustin@howett.net>
Mon, 1 Jun 2026 20:15:06 +0000 (15:15 -0500)
committerGitHub <noreply@github.com>
Mon, 1 Jun 2026 20:15:06 +0000 (15:15 -0500)
The check for end of file (`avail == 0`) happens after the check for a `NULL` return value of `__archive_read_filter_ahead`.

Remove it, because at this stage, it's definitely truncated, not just end of file.

1  2 
libarchive/archive_read_support_filter_bzip2.c