Fix "Segmentation fault" when extracting some large lrzipped files

This commit is contained in:
Antony Shen 2019-01-03 00:16:21 +08:00
parent 9819e861a5
commit f526768dc2

View file

@ -1704,7 +1704,7 @@ out:
unlock_mutex(control, &output_lock);
/* join_pthread here will make it wait till the data is ready */
if (unlikely(new_thread && !join_pthread(control, threads[s->unext_thread], NULL)))
if (unlikely(new_thread & !join_pthread(control, threads[s->unext_thread], NULL)))
return -1;
ucthread[s->unext_thread].busy = 0;