cvs commit: src/tools/regression/sockets/accept_fd_leak accept_fd_leak.c

Robert Watson rwatson at FreeBSD.org
Mon Aug 23 21:59:27 PDT 2004


rwatson     2004-08-24 04:59:26 UTC

  FreeBSD src repository

  Modified files:
    tools/regression/sockets/accept_fd_leak accept_fd_leak.c 
  Log:
  Make sure to properly initialize 'size' to sizeof(sin) before passing
  it into accept().  Depending on the initial value in memory, it is
  otherwise possible to get EINVAL.
  
  Revision  Changes    Path
  1.2       +1 -0      src/tools/regression/sockets/accept_fd_leak/accept_fd_leak.c


More information about the cvs-all mailing list