bin/86135: Fwd: Latent buffer overflow in getcwd
Andrey Chernov
ache at FreeBSD.ORG
Wed Sep 14 21:48:49 PDT 2005
On Thu, Sep 15, 2005 at 08:35:53AM +0400, Andrey Chernov wrote:
> While it can be so for "up", it is not so for "ep", since it is
> filled by __getcwd() syscall and can't be bigger.
I mean common normal situation, i.e. when __getcwd() returns 0.
Allocating anything else than MAXPATHLEN in that situation will
be a waste.
--
http://ache.pp.ru/
More information about the freebsd-bugs
mailing list