Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2011 08:13:35 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r222015 - head/sys/kern
Message-ID:  <67025.1313655215@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 17 Aug 2011 21:03:11 %2B0100." <alpine.BSF.2.00.1108172100100.66376@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <alpine.BSF.2.00.1108172100100.66376@fledge.watson.org>, Robert Wats
on writes:
>On Tue, 17 May 2011, Poul-Henning Kamp wrote:
>
>> +	if ((s->s_flags & SBUF_AUTOEXTEND) == 0) {
>> +		KASSERT(s->s_size > 1,
>> +		    ("attempt to create a too small sbuf"));
>> +	}
>
>This change turns out to cause a kernel panic during fuzzing of 
>mac_proc_get(2).

Feel free to take it out, it probably is more of an EDOOFUS kind
of situation than a KASSERT situation.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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