This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: sysdeps/posix/tempname.c is broken.
- To: drepper@cygnus.com
- Subject: Re: sysdeps/posix/tempname.c is broken.
- From: hjl@lucon.org (H.J. Lu)
- Date: Tue, 15 Dec 1998 17:16:03 -0800 (PST)
- Cc: libc-hacker@cygnus.com
>
> hjl@lucon.org (H.J. Lu) writes:
>
> > There is another bug. "%*s" != "%.*s". "%*s" may lead memory leak.
>
> Not really since we test the lengths before calling sprintf. But I've
Have you considered dir == "/tmp////////////////"?
> nevertheless applied the patch. Thanks,
>
Thanks.
--
H.J. Lu (hjl@gnu.org)