Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2002 13:39:32 -0800 (PST)
From:      Alfred Perlstein <alfred@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/gen readdir.c
Message-ID:  <200202262139.g1QLdWX11878@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
alfred      2002/02/26 13:39:32 PST

  Modified files:
    lib/libc/gen         readdir.c 
  Log:
  use _GENERIC_DIRSIZ(dp) to avoid copying too much of the dirent over
  the user supplied buffer.  this can be a problem when the user doesn't
  supply a full dirent and we corrupt their memory.
  
  Revision  Changes    Path
  1.11      +2 -2      src/lib/libc/gen/readdir.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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