From 683390b02dedca56036b9b1b2aeae46fbfde4e49 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Fri, 12 Mar 2004 10:38:46 +0000 Subject: [PATCH] (read_and): Stop processing the archive after encountering a single zero record. Many old archives contain arbitrary garbage after it. The warning is issued anyway. --- src/list.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/list.c b/src/list.c index 869f2d0..f5684c4 100644 --- a/src/list.c +++ b/src/list.c @@ -140,6 +140,7 @@ read_and (void (*do_something) (void)) break; WARN ((0, 0, _("A lone zero block at %s"), STRINGIFY_BIGINT (current_block_ordinal (), buf))); + break; } status = prev_status; continue; -- 2.44.0