[PATCH][BZ #12847] dprintf/vdprintf can cause fork to fail (child process crash)

Ondřej Bílka neleai@seznam.cz
Sat Sep 21 20:23:00 GMT 2013


On Sat, Sep 21, 2013 at 03:45:16PM -0400, Rich Felker wrote:
> On Sat, Sep 21, 2013 at 09:13:46PM +0200, Ondřej Bílka wrote:
> > This bug has a simple patch from Frank Reker in bugzilla, see
> > http://sourceware.org/bugzilla/show_bug.cgi?id=12847
> > 
> > Is it ok to commit or is cause somewhere else?
> 
> dprintf FILEs should not even *be* in this list. That is the
> underlying bug.
> 
A code of dprintf looks similar to sprintf, we could mimic sprintf
logic, however I do not have time to look into it now.



More information about the Libc-alpha mailing list