Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2004 04:59:26 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/tools/regression/sockets/accept_fd_leak accept_fd_leak.c
Message-ID:  <200408240459.i7O4xQaZ006871@repoman.freebsd.org>

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



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