summaryrefslogtreecommitdiff
path: root/lib/tar/write_header.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-03-01 21:54:08 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-03-01 21:54:08 +0100
commit39bfcc7f27b5c5173455140abf902b38c21f0acb (patch)
tree876a6a2e757060343dfada7c2ed05f521fe2d969 /lib/tar/write_header.c
parenteedb0793a2b2600c3bc213ddb869337fb09959de (diff)
Fix: Replace bit shifts in parse_size with SZ_MUL_OV
On 32 bit systems, size_t is a 32 bit integer and doing 64 bit shifts won't do us any good. So instead, use the existing size_t multiply and catch overflow macros. 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