Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
To: None <port-xen-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 06/17/2005 21:04:01
The following reply was made to PR port-xen/29887; it has been noted by GNATS.
From: Martin Husemann <martin@duskware.de>
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>, christos@zoulas.com,
gnats-bugs@NetBSD.org, port-xen-maintainer@NetBSD.org,
gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org,
tech-userlevel@NetBSD.org
Cc:
Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
Date: Fri, 17 Jun 2005 23:03:46 +0200
On Fri, Jun 17, 2005 at 01:20:39PM -0500, James Chacon wrote:
> The bug you cite doesn't discuss that. It's simply noting that
> printf("%s", NULL) is undefined behavior [..]
Which, IMHO, we should avoid in our code. How to catch it easily is an
open question.
Martin