mirror of
git://git.proxmox.com/git/pxar.git
synced 2025-02-02 17:47:00 +03:00
Fabian Grünbichler
ec0761f9db
header: add size checks
to catch - headers with full_size < size_of::<Header> - headers with content_size > header-specific limit both should in practice only occur for corrupted streams/archives, but panic-ing/attempting to allocate huge amounts of memory should be avoided even for those. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Description
No description provided
Languages
Rust
99.4%
Makefile
0.6%