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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1851499

Title:
  lz4 SIGSEGV in LZ4_decompress_generic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lz4/+bug/1851499/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to