瀏覽代碼

(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.

Sergey Poznyakoff 21 年之前
父節點
當前提交
683390b02d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/list.c

+ 1 - 0
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;