Date: Sun, 12 May 2002 17:32:48 -0400 (EDT) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: Marcel Moolenaar <marcel@xcllnt.net>, current@FreeBSD.ORG Subject: Re: Keywords: pre-GCC3 tcsh coredump free/malloc reentrancy signal Message-ID: <200205122132.g4CLWmHl017649@khavrinen.lcs.mit.edu> In-Reply-To: <3858.1021238862@critter.freebsd.dk> References: <20020512212236.GB20876@dhcp01.pn.xcllnt.net> <3858.1021238862@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Sun, 12 May 2002 23:27:42 +0200, Poul-Henning Kamp <phk@critter.freebsd.dk> said: > The correct solution is probably to set a flag in the signal handler > and resize the buffer before the next line is read. Or, somewhat less optimally, to block SIGWINCH (and any other signals with similar handler behavior) around calls to malloc and free. This is still not *correct*, mind you, but will make the condition less likely. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205122132.g4CLWmHl017649>
