[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-cpio] Bug when using readlink()
From: |
Ronny Nilsson |
Subject: |
[Bug-cpio] Bug when using readlink() |
Date: |
Tue, 5 Jun 2007 16:18:22 +0200 |
Hi
There seems to be a bug in copyout.c. A string returned from readlink()
isn't null terminated, which cases archived symlinks to contain garbage
(at least on my system).
A simple patch is attached.
Regards
/Ronny Nilsson
cpio-2.7-symlink-string.patch
Description: Text Data
- [Bug-cpio] Bug when using readlink(),
Ronny Nilsson <=