From owner-cvs-src@FreeBSD.ORG  Sat Jan 10 00:28:55 2004
Return-Path: <owner-cvs-src@FreeBSD.ORG>
Delivered-To: cvs-src@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id C9C2216A4CE; Sat, 10 Jan 2004 00:28:55 -0800 (PST)
Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 0A50B43D55; Sat, 10 Jan 2004 00:28:55 -0800 (PST)
	(envelope-from truckman@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
	by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0A8Ss0B047884;
	Sat, 10 Jan 2004 00:28:54 -0800 (PST)
	(envelope-from truckman@repoman.freebsd.org)
Received: (from truckman@localhost)
	by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0A8SsZP047883;
	Sat, 10 Jan 2004 00:28:54 -0800 (PST)
	(envelope-from truckman)
Message-Id: <200401100828.i0A8SsZP047883@repoman.freebsd.org>
From: Don Lewis <truckman@FreeBSD.org>
Date: Sat, 10 Jan 2004 00:28:54 -0800 (PST)
To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org,
	cvs-all@FreeBSD.org
X-FreeBSD-CVS-Branch: HEAD
Subject: cvs commit: src/sys/kern uipc_syscalls.c
X-BeenThere: cvs-src@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Jan 2004 08:28:56 -0000

truckman    2004/01/10 00:28:54 PST

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_syscalls.c 
  Log:
  Add a somewhat redundant check on the len arguement to getsockaddr() to
  avoid relying on the minimum memory allocation size to avoid problems.
  The check is somewhat redundant because the consumers of the returned
  structure will check that sa_len is a protocol-specific larger size.
  
  Submitted by:   Matthew Dillon <dillon@apollo.backplane.com>
  Reviewed by:    nectar
  MFC after:      30 days
  
  Revision  Changes    Path
  1.163     +2 -0      src/sys/kern/uipc_syscalls.c