From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27625 invoked from network); 6 Oct 1998 16:09:29 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 6 Oct 1998 16:09:29 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA22404 for ; Tue, 6 Oct 1998 12:05:27 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id KAA24805 for axp-list@redhat.com; Tue, 6 Oct 1998 10:05:25 -0600 From: Michal Jaegermann Message-Id: <199810061605.KAA24805@ellpspace.math.ualberta.ca> Subject: Re: runaway klogd/syslogd happening now To: axp-list@redhat.com Date: Tue, 6 Oct 1998 10:05:24 -0600 (MDT) In-Reply-To: <199810061547.LAA03984@adder.cs.Virginia.EDU> from "Greg Lindahl" at Oct 6, 98 11:47:14 am Content-Type: text Greg Lindahl wrote: > > > > > No, actually we don't (unless this is a lack of a guard against > > a buffer overflow somewhere where there is no way to control input > > data). > > If syslogd doesn't have a bug, why is it reading from a fd which is > too large? It must have a bug. Most likely local variables on stack were clobbered with a garbage because of a buffer overflow. This will create all kind of funny values and side-effects. This is a guess, but educated one. :-) If something assumes that its input satisfies some constraints, and this input cannot be influenced by a user, then this assumption is reasonable. When "producers" stop conforming then all bets are off. Of course this is a bug but you are free to interpret on which side of an interface and what is the simplest fix. --mj