From owner-cvs-all@FreeBSD.ORG Mon Nov 6 21:53:21 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F093E16A40F; Mon, 6 Nov 2006 21:53:21 +0000 (UTC) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76ADC43D60; Mon, 6 Nov 2006 21:53:19 +0000 (GMT) (envelope-from andre@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kA6LrJs0019999; Mon, 6 Nov 2006 21:53:19 GMT (envelope-from andre@repoman.freebsd.org) Received: (from andre@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kA6LrJuW019998; Mon, 6 Nov 2006 21:53:19 GMT (envelope-from andre) Message-Id: <200611062153.kA6LrJuW019998@repoman.freebsd.org> From: Andre Oppermann Date: Mon, 6 Nov 2006 21:53:19 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern uipc_syscalls.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 21:53:22 -0000 andre 2006-11-06 21:53:19 UTC FreeBSD src repository Modified files: sys/kern uipc_syscalls.c Log: Handle early errors in kern_sendfile() by introducing a new goto 'out' label after the sbunlock() part. This correctly handles calls to sendfile(2) without valid parameters that was broken in rev. 1.240. Coverity error: 272162 Revision Changes Path 1.243 +9 -9 src/sys/kern/uipc_syscalls.c