From f526768dc2999e5c76b430b394446bd0f328f695 Mon Sep 17 00:00:00 2001 From: Antony Shen Date: Thu, 3 Jan 2019 00:16:21 +0800 Subject: [PATCH] Fix "Segmentation fault" when extracting some large lrzipped files --- stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream.c b/stream.c index 0dc68be..39848eb 100644 --- a/stream.c +++ b/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;