NetBSD Problem Report #7062
Received: (qmail 18400 invoked from network); 28 Feb 1999 10:23:56 -0000
Message-Id: <199902281023.LAA01557@lyssa.owl.de>
Date: Sun, 28 Feb 1999 11:23:15 +0100 (MET)
From: Matthias Scheler <tron@lyssa.owl.de>
Reply-To: tron@lyssa.owl.de
To: gnats-bugs@gnats.netbsd.org
Subject: syslogd dumps core after receiving remote message
X-Send-Pr-Version: 3.95
>Number: 7062
>Category: bin
>Synopsis: syslogd dumps core after receiving remote message
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 28 02:35:00 +0000 1999
>Closed-Date: Sun Feb 28 11:31:44 +0000 1999
>Last-Modified: Sun Feb 28 11:33:28 +0000 1999
>Originator: Matthias Scheler
>Release: 19990227
>Organization:
Matthias Scheler http://home.owl.de/~tron/
>Environment:
System: NetBSD lyssa.owl.de 1.3J NetBSD 1.3J (LYSSA) #1: Sun Feb 28 00:48:09 MET 1999 tron@lyssa.owl.de:/src/sys/compile/LYSSA i386
>Description:
Recently I discovered that the "syslogd" on my current system wasn't running.
I restarted it but a few minutes later it was down again. After debugging
it with "gdb" I found that it crashes on the first message from a remote
system in malloc() while doing gethostbyname(). Obviously something is
broken in the dynamic argument array handling which cause the memory list
to be corrupted.
>How-To-Repeat:
Watch "syslogd" on a system which receives remote messages.
>Fix:
Back out revision 1.22.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: pk
State-Changed-When: Sun Feb 28 03:31:44 PST 1999
State-Changed-Why:
Missing parentheses in malloc() calculation.
Problem has been corrected in syslogd.c, rev. 1.25.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.