From owner-cvs-lib Sun Sep 14 16:31:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA10863 for cvs-lib-outgoing; Sun, 14 Sep 1997 16:31:15 -0700 (PDT) Received: (from wosch@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA10841; Sun, 14 Sep 1997 16:31:11 -0700 (PDT) Message-ID: <19970914163110.42169@freebsd.org> Date: Sun, 14 Sep 1997 16:31:10 -0700 From: Wolfram Schneider To: Vincent Poy Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/gen getpwent.c References: <199709141816.LAA08383@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: ; from Vincent Poy on Sun, Sep 14, 1997 at 03:10:52PM -0700 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, Sep 14, 1997 at 03:10:52PM -0700, Vincent Poy wrote: > On Sun, 14 Sep 1997, Wolfram Schneider wrote: > > wosch 1997/09/14 11:16:12 PDT > > > > Modified files: > > lib/libc/gen getpwent.c > > Log: > > Potential bufferflow in getpwent(), getpwnam() and getpwuid() > > > > PR: bin/4134 > > Submitted by: nick@foobar.org > > > > Revision Changes Path > > 1.41 +7 -2 src/lib/libc/gen/getpwent.c > > This one fails after building at: > > gzip -c /usr/src/lib/libc/../libc/regex/re_format.7 > re_format.7.gz > gzip -c /usr/src/lib/libc/../libc/rpc/rstat_svc.8 > rstat_svc.8.gz > install -c -o bin -g bin -m 444 libc.a /usr/lib > install -c -o bin -g bin -m 444 libc_p.a /usr/lib > install -c -o bin -g bin -m 444 -fschg libc.so.3.0 /usr/lib > install -c -o bin -g bin -m 444 libc_pic.a /usr/lib > ld.so failed: Undefined symbol "SYS___getcwd" in > install:/usr/lib/libc.so.3.0 > *** Error code 1 > > Stop. This has nothing to do with getpwent.c. __getcwd is the new system call. Didn't you read the warning in -current? Wolfram