diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-25 23:35:15 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-07-25 23:35:15 +0200 |
commit | ba82a3812d39acf6c865478f72d7e68838c14f69 (patch) | |
tree | 4e558c02e997e97b41b1b353cf15f67c660b968c /lib/tar/write_header.c | |
parent | 935131744634f9a29e5d53a06a411dbb455cb1ae (diff) |
Enforce reasonable upper and low bounds on the size of tar headers
Since they are read directly into memory, blindly allocating the size
from the tar ball is probably a bad idea.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/tar/write_header.c')
0 files changed, 0 insertions, 0 deletions