diff options
author | Alexander Gallego <alex@vectorized.io> | 2020-07-08 15:21:45 (GMT) |
---|---|---|
committer | Alexander Gallego <alex@vectorized.io> | 2020-07-08 15:30:07 (GMT) |
commit | e68c7d38780ada518e6c43a09a2d92421ea8111b (patch) | |
tree | e6eef71097e78ffc37ed53a4ca689b27018f9603 /ossfuzz/round_trip_fuzzer.c | |
parent | 49b3ad4bd41311e92fc3a18eda571800bde5aa42 (diff) | |
download | lz4-e68c7d38780ada518e6c43a09a2d92421ea8111b.zip lz4-e68c7d38780ada518e6c43a09a2d92421ea8111b.tar.gz lz4-e68c7d38780ada518e6c43a09a2d92421ea8111b.tar.bz2 |
avoid computing 0 offsets from null pointers
Similar work in the kernel:
https://patchwork.kernel.org/patch/11351499/
UBsan (+clang-10) complains about doing pointer arithmetic (adding 0)
to a nullpointer.
This patch is tested with clang-10+ubsan
Diffstat (limited to 'ossfuzz/round_trip_fuzzer.c')
0 files changed, 0 insertions, 0 deletions