Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2001 14:54:26 +0300
From:      Valentin Nechayev <netch@iv.nn.kiev.ua>
To:        Matt Dillon <dillon@earth.backplane.com>
Cc:        Alfred Perlstein <bright@mu.org>, hackers@FreeBSD.ORG
Subject:   Re: bug in sshd - signal during free()
Message-ID:  <20010922145426.A686@iv.nn.kiev.ua>
In-Reply-To: <200109172104.f8HL45641959@earth.backplane.com>; from dillon@earth.backplane.com on Mon, Sep 17, 2001 at 02:04:05PM -0700
References:  <200109172032.f8HKW6M41638@earth.backplane.com> <20010917160103.Z968@elvis.mu.org> <200109172104.f8HL45641959@earth.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
 Mon, Sep 17, 2001 at 14:04:05, dillon (Matt Dillon) wrote about "Re: bug in sshd - signal during free()": 

>     It's funny... they had an XXX comment in there so obviously someone
>     was a little jittery about it.  I think they just didn't realize that
>     a malloc() might occur inside the signal handler or they would have
>     fixed it long ago.

Have they real reason to do regeneration in signal handler, instead of
interrupting a wait and using a notification variable?
I cannot imagine such reason.

>     UNIX signals suck.

- I hate cats! They smells, their hair flies everywhere!
- Oh, dear, you simply should study how to cook them better.

(sorry for possible translation stones)


/netch

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010922145426.A686>