bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-cpio] [patch] symlink target name corruption in copyout mode


From: Mike Frysinger
Subject: Re: [Bug-cpio] [patch] symlink target name corruption in copyout mode
Date: Mon, 13 Nov 2006 01:12:34 -0500
User-agent: KMail/1.9.5

On Sunday 12 November 2006 21:31, Charles Johnston wrote:
> The call to readlink in line 801 of copyout.c doesn't return a
> null-terminated string.  The name can end up having extra garbage on the
> end.

this has already been fixed in cvs:
revision 1.20
date: 2006-10-24 06:48:04 -0400;  author: gray;  state: Exp;  lines: +1 -0
(process_copy_out): Add terminating zero to the link_name.
-mike

Attachment: pgphlUeZsgsvw.pgp
Description: PGP signature


reply via email to

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