From owner-svn-src-head@FreeBSD.ORG Thu Aug 18 08:32:40 2011 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B551106564A; Thu, 18 Aug 2011 08:32:40 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id BFAE68FC08; Thu, 18 Aug 2011 08:32:39 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 343965E00; Thu, 18 Aug 2011 08:13:36 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id p7I8DZkn067026; Thu, 18 Aug 2011 08:13:36 GMT (envelope-from phk@phk.freebsd.dk) To: Robert Watson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 17 Aug 2011 21:03:11 +0100." Content-Type: text/plain; charset=ISO-8859-1 Date: Thu, 18 Aug 2011 08:13:35 +0000 Message-ID: <67025.1313655215@critter.freebsd.dk> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r222015 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2011 08:32:40 -0000 In message , 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.