4 Commits
Author SHA1 Message Date
Lukas Javorsky 95c386317f Remove unnecessary sharutils dependency (#2571)
Resolves issue: #2570
2025-04-08 20:23:27 -07:00
Lukas Javorsky 09e7b6b0ac 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.
2024-07-04 15:51:38 -07:00
Lukas Javorsky ffa43aef31 Use calloc instead of malloc to clear the memory from leftovers (#2207)
This ensures that the buffer is properly initialized and does not
contain any leftover data from previous operations. It is used later in
the `archive_entry_copy_hardlink_l` function call and could be
uninitialized.
2024-06-10 21:41:25 -07:00
Lukas Javorsky 575e2eab4b Fix handling a negative bytes_per_block values (#2206)
Related issue: https://github.com/libarchive/libarchive/issues/2185
2024-06-02 16:50:22 -07:00