This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sysdeps/posix/tempname.c is broken.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]