diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2020-04-02 02:31:44 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2020-04-02 02:31:44 +0200 |
| commit | 815b983b3a4ca0c0bfa230d3924c31cfbff14a81 (patch) | |
| tree | 2d0219db0def82abfcd8ee254be9d4a6fe2c14de /src/cc4group.c | |
| parent | 359002f664ca022e5df93bdb6fe2066082e2dc8d (diff) | |
| download | cc4group-815b983b3a4ca0c0bfa230d3924c31cfbff14a81.tar.gz cc4group-815b983b3a4ca0c0bfa230d3924c31cfbff14a81.zip | |
Fix another crash when using lazy mode together with addFromDisk
Diffstat (limited to 'src/cc4group.c')
| -rw-r--r-- | src/cc4group.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
