summaryrefslogtreecommitdiffstats
path: root/lib/lz4.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2022-10-01 01:06:53 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2022-10-01 01:06:53 (GMT)
commit68848ec601b96c0d9f86e91585309b2738d2c48c (patch)
treeebfbd4084d308347e98f3c77e03039edce40d610 /lib/lz4.c
parenta3d1762092c624732eb93a1e28c1abdb7566fb87 (diff)
downloadlz4-68848ec601b96c0d9f86e91585309b2738d2c48c.zip
lz4-68848ec601b96c0d9f86e91585309b2738d2c48c.tar.gz
lz4-68848ec601b96c0d9f86e91585309b2738d2c48c.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 'lib/lz4.c')
0 files changed, 0 insertions, 0 deletions