diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-03-01 21:54:08 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-03-01 21:54:08 +0100 |
commit | 39bfcc7f27b5c5173455140abf902b38c21f0acb (patch) | |
tree | 876a6a2e757060343dfada7c2ed05f521fe2d969 /lib/sqfs/comp/zlib/trees.c | |
parent | eedb0793a2b2600c3bc213ddb869337fb09959de (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/sqfs/comp/zlib/trees.c')
0 files changed, 0 insertions, 0 deletions