From 815b983b3a4ca0c0bfa230d3924c31cfbff14a81 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Thu, 2 Apr 2020 02:31:44 +0200 Subject: Fix another crash when using lazy mode together with addFromDisk --- src/cc4group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc4group.c b/src/cc4group.c index 64c72c2..92dd784 100644 --- a/src/cc4group.c +++ b/src/cc4group.c @@ -2054,7 +2054,7 @@ static void cc4group_mmappedFileManagementEnd(void* const data, void* const arg) static const uint8_t* cc4group_getOnlyEntryData(CC4Group* const this, const C4GroupEntryData* entry) { - if(this->lazy) + if(this->lazy && entry->path == NULL) { if(!entry->data && entry->core.Size > 0) { -- cgit v1.2.3-54-g00ecf