Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2014 08:06:53 -0700
From:      Brian Frisbie <concordbjf@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Error in 3.3. Buffer Overflows
Message-ID:  <CAJ9o_NGG8CgK32_J0Uqt3TjEAn_8LfCwOwC-JdhgK48SMn3qbQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I believe there's a small error in the document
http://www.freebsd.org/doc/en/books/developers-handbook/secure-bufferov.html

For "realpath(char *path, char resolved_path[])" the description is "May
overflow the path buffer".

I believe it should read: "May overflow the *resolved_*path buffer" based
on the definition of realpath() found here:
http://pubs.opengroup.org/onlinepubs/009695399/functions/realpath.html

Cheers,
-Brian



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