From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: runaway klogd/syslogd happening now
Date: Tue, 6 Oct 1998 09:31:14 -0600 (MDT) [thread overview]
Message-ID: <199810061531.JAA24711@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <199810061315.JAA28686@adder.cs.Virginia.EDU> from "Greg Lindahl" at Oct 6, 98 09:15:28 am
Greg Lindahl wrote:
>
> It's fine to fix the kernel, which will paper over the other bugs, but
> it would be good to fix the other bugs too. We know that syslogd also
> has a bug because it is reading a bogus fd.
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 you will trash a stack than any outcome is possible
including, obviously, killing a process as reported in another posting.
Actually, one would think, that the later is more likely result.
I did not analyze the bug in depth; indeed, I was not even struck by an
instance of it. Luck of a draw, I guess, or I do not run anything that
would cause an avalanche of invocations of unimplemented system calls
(if this is indeed a reason). But it **might** be that adding this
missing terminator is a proper fix.
> As for what buffer size to insert the \n at, how about the length of
> the buffer you're reading into minus one?
What about it? If some reasonable constraints are violated then
problems may show up. This is an abstract discussion. At this stage
we need to see some code, I guess.
Michal
next prev parent reply other threads:[~1998-10-06 15:35 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-06 13:15 runaway klogd/syslogd happening now Greg Lindahl
1998-10-06 13:26 ` Barrett G. Lyon
1998-10-06 15:31 ` Michal Jaegermann [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-10-06 15:47 Greg Lindahl
1998-10-06 16:05 ` Michal Jaegermann
1998-10-06 19:53 ` Quant-X Alpha Linux Support
1998-10-06 15:44 Greg Lindahl
1998-10-05 21:24 Greg Lindahl
1998-10-06 0:09 ` Uncle George
1998-10-06 0:27 ` Barrett G. Lyon
1998-10-06 0:46 ` Uncle George
1998-10-06 0:45 ` Barrett G. Lyon
1998-10-06 7:12 ` Michal Jaegermann
1998-10-06 12:12 ` Craig P Prescott
1998-10-06 22:09 ` Jeff Sturm
1998-10-06 22:52 ` Peter Waltenberg
1998-10-07 10:22 ` Uncle George
1998-10-04 21:20 Greg Lindahl
1998-10-04 21:48 ` B. James Phillippe
1998-10-04 23:24 ` Uncle George
1998-10-04 14:39 Greg Lindahl
[not found] <199810030609.CAA23387@neptune.phys.ufl.edu>
1998-10-04 13:41 ` Uncle George
1998-10-03 15:03 David Levine
1998-10-03 7:12 Shane Steven Sturrock
1998-10-03 0:29 Greg Lindahl
1998-10-03 0:58 ` B. James Phillippe
1998-10-05 6:11 ` Craig P Prescott
1998-10-02 19:30 Craig P Prescott
1998-10-02 22:39 ` Uncle George
1998-10-03 0:02 ` Craig P Prescott
1998-10-03 3:00 ` Paul Tomblin
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox