]> granicus.if.org Git - xz/commit
liblzma: Fix another deadlock in the threaded encoder.
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 23 Mar 2013 19:51:38 +0000 (21:51 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sat, 23 Mar 2013 19:51:38 +0000 (21:51 +0200)
commite572e123b55b29527e54ce5f0807f115481d78b9
tree3c64b954d1b8bf0b70119596f5cc4dddf19f1b67
parentb465da5988dd59ad98fda10c2e4ea13d0b9c73bc
liblzma: Fix another deadlock in the threaded encoder.

This race condition could cause a deadlock if lzma_end() was
called before finishing the encoding. This can happen with
xz with debugging enabled (non-debugging version doesn't
call lzma_end() before exiting).
src/liblzma/common/stream_encoder_mt.c