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