Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Oct 2002 16:05:39 -0700
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
Message-ID:  <3D9B7BC3.D306AE15@lbl.gov>
References:  <200210022140.g92Le18Z084749@freefall.freebsd.org> <3D9B6D58.517BE8A4@lbl.gov> <200210022215.g92MF1I1002111@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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?3D9B7BC3.D306AE15>