Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2012 11:07:33 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        src-committers@freebsd.org, Eitan Adler <eadler@freebsd.org>, svn-src-all@freebsd.org, Andriy Gapon <avg@freebsd.org>, Colin Percival <cperciva@freebsd.org>, svn-src-head@freebsd.org
Subject:   Re: svn commit: r230125 - head/sys/kern
Message-ID:  <4F15C6F5.6000809@FreeBSD.org>
In-Reply-To: <201201171348.10192.jhb@freebsd.org>
References:  <201201150709.q0F79Iif067938@svn.freebsd.org> <CAF6rxgngOduQCn_J2bFkn3ExwWbMkbxNbBvqfsWyf3EkNaGrXw@mail.gmail.com> <4F15AFE2.8000600@FreeBSD.org> <201201171348.10192.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/17/2012 10:48, John Baldwin wrote:
> On Tuesday, January 17, 2012 12:29:06 pm Andriy Gapon wrote:
>> on 17/01/2012 19:12 Eitan Adler said the following:
>>> To me seeing "(null)" from the output of printf indicates "There is a
>>> bug here, printf should never be given a NULL argument.".
>>> However, given that it isn't undefined here, and the objections I've
>>> received I will revert this part of the change when I get home.
>>
>> Would this be worth the hassle now that the change is already committed?
> 
> Probably not, though at some point if the printf is reworked for some other
> reason it could be removed then.  I don't think we need to add more special
> case handling for NULL string pointers passed to kernel printf in the future,
> however.

If it needs to be changed, it should be done sooner than later. It's not
as if we're carving the bits out of stone after all. :)



-- 

	It's always a long day; 86400 doesn't fit into a short.

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F15C6F5.6000809>