From 39caadde7c89d2fa854808266c40cd6eb9529fd9 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 3 Apr 1997 11:24:59 +0000 Subject: [PATCH] Fix bug that can cuase a loop to become endless. The bug is triggered by attempts to copy in (-i) a file which happens to have zero length. --- contrib/cpio/copyin.c | 1 - 1 file changed, 1 deletion(-) diff --git a/contrib/cpio/copyin.c b/contrib/cpio/copyin.c index 2008c391b76a..bfb95364bb37 100644 --- a/contrib/cpio/copyin.c +++ b/contrib/cpio/copyin.c @@ -1321,7 +1321,6 @@ create_final_defers () for (d = deferments; d != NULL; d = d->next) { - d = deferments; link_res = link_to_maj_min_ino (d->header.c_name, d->header.c_dev_maj, d->header.c_dev_maj, d->header.c_ino);