]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Fix multiple vulnerabilities identified by SAST (#2256)
authorLukas Javorsky <ljavorsk@redhat.com>
Thu, 4 Jul 2024 22:51:38 +0000 (00:51 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Jul 2024 22:51:38 +0000 (15:51 -0700)
commit09e7b6b0ac73c620f8fcebef85dda0fc3a36a702
tree3da84bfb24d6bb2069a01065e9130584ed39964e
parent898dc8319355b7e985f68a9819f182aaed61b53a
Fix multiple vulnerabilities identified by SAST (#2256)

I went through ~50 findings of SAST reports and identified a few of them
as true positives. I might still have missed some intended uses or some
magic in the code so please provide feedback if you think some of these
shouldn't be applied and why.

I explained the changes in the separate comments.
libarchive/archive_ppmd8.c
libarchive/archive_read_append_filter.c
libarchive/archive_read_disk_entry_from_file.c
libarchive/archive_read_support_format_rar.c
libarchive/archive_write_set_format_iso9660.c
tar/write.c