From owner-freebsd-bugs Wed Oct 2 16:10: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39E0637B401 for ; Wed, 2 Oct 2002 16:10:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C19B543E42 for ; Wed, 2 Oct 2002 16:10:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g92NA4Co012251 for ; Wed, 2 Oct 2002 16:10:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g92NA4O9012250; Wed, 2 Oct 2002 16:10:04 -0700 (PDT) Date: Wed, 2 Oct 2002 16:10:04 -0700 (PDT) Message-Id: <200210022310.g92NA4O9012250@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Jin Guojun [DSD]" Subject: Re: kern/43599: Balloc did not check mallocated pointer in libc/stdlib/strtod.c Reply-To: "Jin Guojun [DSD]" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/43599; it has been noted by GNATS. From: "Jin Guojun [DSD]" To: Garrett Wollman 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: > < 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