Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2004 00:28:54 -0800 (PST)
From:      Don Lewis <truckman@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_syscalls.c
Message-ID:  <200401100828.i0A8SsZP047883@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401100828.i0A8SsZP047883>