From owner-cvs-all@FreeBSD.ORG Tue Oct 21 04:00:34 2003 Return-Path: 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 9057116A4C0; Tue, 21 Oct 2003 04:00:34 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1285E43FB1; Tue, 21 Oct 2003 04:00:34 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9LB0XXJ055273; Tue, 21 Oct 2003 04:00:33 -0700 (PDT) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9LB0XGQ055244; Tue, 21 Oct 2003 04:00:33 -0700 (PDT) (envelope-from tjr) Message-Id: <200310211100.h9LB0XGQ055244@repoman.freebsd.org> From: "Tim J. Robbins" Date: Tue, 21 Oct 2003 04:00:33 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/linux linux_misc.c linux_uid16.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 21 Oct 2003 11:00:34 -0000 tjr 2003/10/21 04:00:33 PDT FreeBSD src repository Modified files: sys/compat/linux linux_misc.c linux_uid16.c Log: Reject negative ngrp arguments in linux_setgroups() and linux_setgroups16(); stops users being able to cause setgroups to clobber the kernel stack by copying in data past the end of the linux_gidset array. Revision Changes Path 1.149 +1 -1 src/sys/compat/linux/linux_misc.c 1.12 +1 -1 src/sys/compat/linux/linux_uid16.c