Subject: Re: bin/34979: -current libc causes boot failure
To: Christos Zoulas <christos@zoulas.com>
From: Scott Ellis <scotte@warped.com>
List: netbsd-bugs
Date: 11/12/2006 17:19:12
Christos Zoulas wrote:
[snip]
> Try this (which returns a match if prog/from is empty):
> 
> Index: syslogd.c
> ===================================================================
> RCS file: /cvsroot/src/usr.sbin/syslogd/syslogd.c,v
> retrieving revision 1.82
> diff -u -u -r1.82 syslogd.c
> --- syslogd.c	16 Sep 2006 17:05:32 -0000	1.82
> +++ syslogd.c	13 Nov 2006 00:51:26 -0000
[snip]

Actually, it looks like this check is already effectively in 1.83. 
(Psst, your syslogd.c is out of date...you should have /*      $NetBSD: 
syslogd.c,v 1.83 2006/10/21 09:42:26 yamt Exp $        */ )

This already contains:

if (strchr(name, ',')) /* sanity */
                 return (0);


Shouldn't that handle this case?

	ScottE