Open kky0h opened 6 years ago
Thanks for reporting. I tried to reproduce your issue with the latest Lizard 1.0 at https://github.com/inikep/lizard/commit/02491c71c2e6fd5c10997404df2f18d0fc7afadb.
I used gcc-8
with UBSan and ASan and it found no issues.
Please try the latest commit. If you will find an issue please also report your gcc/clang version and used parameters. My options were: gcc-8 -O2 -g -fsanitize=undefined -fsanitize=address -std=gnu99 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wstrict-prototypes
Hello.
I found a invalid memory access in LZ5 v2.0.
Please confirm.
Thanks.
Summary OS: ubuntu-14.04-64bit version: Lz5 2.0 POC Download: invalid memory access test code: examples/blockStreaming_lineByLine.c,compile with ASan.
details:
It seems 'match' or 'base' (lz5_parse_fastsmall.h:90) access invalid memory in some cases. It may cause a crash or denial of service.