sysdeps/posix/tempname.c is broken.

H.J. Lu hjl@lucon.org
Tue Dec 15 17:16:00 GMT 1998


> 
> 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)



More information about the Libc-hacker mailing list