mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-01-04 23:50:02 +01:00
Fix "Segmentation fault" when extracting some large lrzipped files
This commit is contained in:
parent
9819e861a5
commit
f526768dc2
2
stream.c
2
stream.c
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue