From owner-cvs-all Wed Sep 12 23:48:48 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id F1F1437B401; Wed, 12 Sep 2001 23:48:41 -0700 (PDT) Received: (from des@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8D6mfU01568; Wed, 12 Sep 2001 23:48:41 -0700 (PDT) (envelope-from des) Message-Id: <200109130648.f8D6mfU01568@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: Wed, 12 Sep 2001 23:48:41 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/syslogd syslogd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG des 2001/09/12 23:48:41 PDT Modified files: usr.sbin/syslogd syslogd.c Log: The previous commit appeared to just shove the bug under the carpet rather than really solve it. This approach (inspired by Ruslan's patch) solves the real problem by stripping the local domain off the host name in the config line structure. Also mark a bunch of code sections that either do not check the return value of a strdup(), malloc() or calloc() call, or do not properly handle a NULL return. Revision Changes Path 1.89 +24 -6 src/usr.sbin/syslogd/syslogd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message