svn commit: r222015 - head/sys/kern

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Aug 18 08:32:40 UTC 2011


In message <alpine.BSF.2.00.1108172100100.66376 at 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 at 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.


More information about the svn-src-head mailing list