Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 1996 17:40:07 -0700 (PDT)
From:      Peter Wemm <peter>
To:        CVS-committers, cvs-all, cvs-lib
Subject:   cvs commit:  src/lib/libc/gen getcwd.c
Message-ID:  <199610170040.RAA18918@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
peter       96/10/16 17:40:06

  Modified:    lib/libc/gen  getcwd.c
  Log:
  Corrently null-terminate the path being passed to the opendir() calls,
  malloc() does is not defined to return a zeroed buffer leading to
  "strange" problems.
  
  Submitted by: Karl Denninger <karl@mcs.com>, PR#1826
  
  Revision  Changes    Path
  1.7       +1 -0      src/lib/libc/gen/getcwd.c



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