cvs commit: src/sys/kern uipc_syscalls.c

Don Lewis truckman at FreeBSD.org
Sat Jan 10 00:28:56 PST 2004


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 at apollo.backplane.com>
  Reviewed by:    nectar
  MFC after:      30 days
  
  Revision  Changes    Path
  1.163     +2 -0      src/sys/kern/uipc_syscalls.c


More information about the cvs-src mailing list