Date: Wed, 2 Oct 2002 16:10:04 -0700 (PDT) From: "Jin Guojun [DSD]" <j_guojun@lbl.gov> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/43599: Balloc did not check mallocated pointer in libc/stdlib/strtod.c Message-ID: <200210022310.g92NA4O9012250@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/43599; it has been noted by GNATS. From: "Jin Guojun [DSD]" <j_guojun@lbl.gov> To: Garrett Wollman <wollman@lcs.mit.edu> Cc: FreeBSD-gnats-submit@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG Subject: Re: kern/43599: Balloc did not check mallocated pointer in libc/stdlib/strtod.c Date: Wed, 02 Oct 2002 16:05:39 -0700 Garrett Wollman wrote: > <<On Wed, 02 Oct 2002 15:04:09 -0700, "Jin Guojun [DSD]" <j_guojun@lbl.gov> said: > > > and timeout (SIGALARM) starts another printf() which causes overtaking the > > malloc() and returns 0 (NULL): > > Programmer error. It is forbidden to call any stdio function from a > signal handler. > > -GAWollman "man stdio" does not say this. Is this BSD specific? -- ------------ Jin Guojun ----------- v --- j_guojun@lbl.gov --- Distributed Systems Department http://www.itg.lbl.gov/~jin M/S 50B-2239 Ph#:(510) 486-7531 Fax: 486-6363 Lawrence Berkeley National Laboratory, Berkeley, CA 94720 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210022310.g92NA4O9012250>