Hello. Bug was found when work on commpression in carbon-c-relay
https://github.com/msaf1980/carbon-c-relay/tree/fix_compress
For reproduce
$ git clone https://github.com/msaf1980/carbon-c-relay cd carbon-c-relay git checkout fix_compress
autoreconf -fi ./configure -with-lz4 --without-gzip --without-snappy --without-ssl make clean make -j 4 test
LZ4F_resetDecompressionContext is required for recovery lz4 decompression context after try to decompress imcomplete block in frame.
If you need see a segfault, comment call LZ4F_resetDecompressionContext(strm->hdl.lz4.lz) at dispatcher.c:381
Hello. Bug was found when work on commpression in carbon-c-relay
https:/ /github. com/msaf1980/ carbon- c-relay/ tree/fix_ compress
For reproduce
$ /github. com/msaf1980/ carbon- c-relay
git clone https:/
cd carbon-c-relay
git checkout fix_compress
autoreconf -fi
./configure -with-lz4 --without-gzip --without-snappy --without-ssl
make clean
make -j 4 test
LZ4F_resetDecom pressionContext is required for recovery lz4 decompression context after try to decompress imcomplete block in frame.
If you need see a segfault, comment call LZ4F_resetDecom pressionContext (strm-> hdl.lz4. lz) at dispatcher.c:381