diff options
author | obrien <obrien@FreeBSD.org> | 1997-04-03 11:24:59 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1997-04-03 11:24:59 +0000 |
commit | 38e82dbbff92f44e8a02412d23eab429d301a628 (patch) | |
tree | f53ed85f0317f8816094185a3dae1ec3009f19dd | |
parent | 53af8e0438c951a708dac03a7a32d2a049f34c85 (diff) | |
download | FreeBSD-src-38e82dbbff92f44e8a02412d23eab429d301a628.zip FreeBSD-src-38e82dbbff92f44e8a02412d23eab429d301a628.tar.gz |
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.
-rw-r--r-- | contrib/cpio/copyin.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/cpio/copyin.c b/contrib/cpio/copyin.c index 2008c39..bfb9536 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); |