diff options
author | Nigel Tao <nigeltao@golang.org> | 2019-09-15 23:20:02 (GMT) |
---|---|---|
committer | Nigel Tao <nigeltao@golang.org> | 2019-09-21 02:38:46 (GMT) |
commit | c5a83c1a48722108460f8542d92703fd5f59e296 (patch) | |
tree | aeb1cd1932b2452911265d235027a0d0ff60d767 /ossfuzz | |
parent | 9b2b96edc4642c4a21e2485ffe9bd43ed5f3a2b2 (diff) | |
download | lz4-c5a83c1a48722108460f8542d92703fd5f59e296.zip lz4-c5a83c1a48722108460f8542d92703fd5f59e296.tar.gz lz4-c5a83c1a48722108460f8542d92703fd5f59e296.tar.bz2 |
Have read_variable_length use fixed size types
Otherwise, the output from decoding LZ4-compressed input could be
platform dependent.
Also add a compile-time check to confirm the existing code's assumptions
that, if <stdint.h> isn't used, then sizeof(int) == 4.
Updates #792
Diffstat (limited to 'ossfuzz')
0 files changed, 0 insertions, 0 deletions