]> git.ipfire.org Git - thirdparty/libarchive.git/commit
archive_match: check archive_read_support_format_raw() return value (#2153)
authorTobias Stoeckmann <stoeckmann@users.noreply.github.com>
Mon, 29 Apr 2024 20:00:22 +0000 (22:00 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Apr 2024 20:00:22 +0000 (22:00 +0200)
commit0ce1b4c382f96f0591ea0496af49d2f8c8f8edb8
tree106c97b717223ef5a1aed93c9c96de1b24ca0e9f
parent3006bc5d02ad3ae3c4f9274f60c1f9d2d834734b
archive_match: check archive_read_support_format_raw() return value (#2153)

If call of archive_read_support_format_raw fails, do not override the
error return value with the return value of
archive_read_support_format_empty(). Instead, return error code as expected.
libarchive/archive_match.c