diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2022-10-01 01:06:53 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2022-10-01 01:06:53 (GMT) |
commit | 68848ec601b96c0d9f86e91585309b2738d2c48c (patch) | |
tree | ebfbd4084d308347e98f3c77e03039edce40d610 /programs/lz4io.h | |
parent | a3d1762092c624732eb93a1e28c1abdb7566fb87 (diff) | |
download | lz4-md_off.zip lz4-md_off.tar.gz lz4-md_off.tar.bz2 |
fix another ubsan warning in lz4hcmd_off
because ubsan complains even about intermediate pointer arithmetic results
(in a simple linear formula with 3 factors for example).
use parenthesis to make sure calculations go directly from one valid memory address to another valid memory address value.
Diffstat (limited to 'programs/lz4io.h')
0 files changed, 0 insertions, 0 deletions