From owner-freebsd-bugs Wed Oct 2 15:20: 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 B5C0537B401 for ; Wed, 2 Oct 2002 15:20:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CE1B43E65 for ; Wed, 2 Oct 2002 15:20:05 -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 g92MK5Co097692 for ; Wed, 2 Oct 2002 15:20:05 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g92MK50i097691; Wed, 2 Oct 2002 15:20:05 -0700 (PDT) Date: Wed, 2 Oct 2002 15:20:05 -0700 (PDT) Message-Id: <200210022220.g92MK50i097691@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Garrett Wollman Subject: Re: kern/43599: Balloc did not check mallocated pointer in libc/stdlib/strtod.c Reply-To: Garrett Wollman 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: Garrett Wollman To: "Jin Guojun [DSD]" 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, 2 Oct 2002 18:15:01 -0400 (EDT) < 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message