Fixes some security issues and bugs 1.
(cherry picked from commit d9421987)
https://github.com/libarchive/libarchive/releases/tag/v3.8.0 ↩