diff --git a/doc/NEWS b/doc/NEWS index 5bcf3c01f..9cc68045d 100644 --- a/doc/NEWS +++ b/doc/NEWS @@ -53,7 +53,7 @@ Version 4.8.29 * FISH subshell: commands don't work after window resize (#4372) * FTP VFS: doesn't reconnect to server after timeout (#3670) * FISH VFS: cannot remove non-empty directory (#4364) - * EXTFS VFS:: segfault if archive contains file(s) in the parent directory (#4422) + * EXTFS VFS: segfault if archive contains file(s) in the parent directory (#4422, #4427) * Tests: variable redeclaration in filevercmp_test5 (#4358) diff --git a/src/vfs/extfs/extfs.c b/src/vfs/extfs/extfs.c index 9c103d228..7c52f863c 100644 --- a/src/vfs/extfs/extfs.c +++ b/src/vfs/extfs/extfs.c @@ -687,7 +687,7 @@ extfs_read_archive (mc_pipe_t * pip, struct extfs_super_t *archive, GError ** er g_string_free (err_msg, TRUE); } - else if (*error == NULL) + else if (ret == -1) mc_propagate_error (error, 0, "%s", _("Inconsistent archive")); return ret;