bug-cpio
[Top][All Lists]
Advanced

[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


Attachment: cpio-2.7-symlink-string.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]