5
0
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>
2020-06-12 09:46:01 +02:00
2020-06-08 13:56:28 +02:00
2020-06-08 10:07:46 +02:00
2020-06-12 09:46:01 +02:00
2020-03-05 10:46:18 +01:00
2020-06-08 13:56:28 +02:00
2020-06-04 11:29:58 +02:00
2020-02-18 14:08:02 +01:00
Description
No description provided
388 KiB
Languages
Rust 99.4%
Makefile 0.6%