Date: Sun, 14 Sep 1997 17:38:06 -0700 From: Paul Traina <pst@shockwave.com> To: Wolfram Schneider <wosch@FreeBSD.ORG> Cc: Vincent Poy <vince@venus.GAIANET.NET>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/gen getpwent.c Message-ID: <199709150038.RAA13043@precipice.shockwave.com> In-Reply-To: Your message of "Sun, 14 Sep 1997 16:31:10 PDT." <19970914163110.42169@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
It seems to me that we want the ability to have libc work with older kernels? If so, something along the lines of what peter did with poll() in the resolver code would be correct, yes? From: Wolfram Schneider <wosch@FreeBSD.ORG> Subject: Re: cvs commit: src/lib/libc/gen getpwent.c 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709150038.RAA13043>