[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI, sync canonicalize-lgpl.c from glibc: Hurd fix
From: |
Jim Meyering |
Subject: |
Re: FYI, sync canonicalize-lgpl.c from glibc: Hurd fix |
Date: |
Thu, 24 Jul 2008 11:07:35 +0200 |
Bruno Haible <address@hidden> wrote:
> Jim Meyering wrote:
>> I noticed the following fix in glibc, so applied it here.
>
> Thanks. I find the ChangeLog entry confusing, since the problem is not with
> readlink, but with the terminating NUL byte that is added after the readlink
> call. So, we don't need to write a readlink() override - readlink() by itself
> is fine.
...
> ! * lib/canonicalize-lgpl.c (__realpath): Avoid buffer overflow after
> ! readlink on platforms without PATH_MAX.
Thanks. I prefer your description, too.