On 9 July 2013 19:19, Krol, Willem van de <008...@jfc.nl> wrote: > Hello all, > > The man page of readlink(2) says it "does not append a null byte to buf". > The readlink utility in sbase, however, assumes it does. I attached a patch.
Hi, The patch introduces buffer overflow. sizeof(buf)-1 should be passed to readlink(). Regards, Michał Kazior.