Re: [dev] [sbase] [PATCH] ls: Always leave room for the NULL byte in the link target

From: Dimitris Papastamos <>
Date: Mon, 8 Dec 2014 09:57:37 +0000

On Mon, Dec 08, 2014 at 02:19:34AM +0000, Michael Forney wrote:
> Otherwise, if the length of the link target is the same as BUFSIZ, we
> will try to write past the end of buf.

Should we perhaps be using PATH_MAX for this? I will apply this patch
and we can fix it up later.
Received on Mon Dec 08 2014 - 10:57:37 CET

This archive was generated by hypermail 2.3.0 : Mon Dec 08 2014 - 11:00:10 CET