Date: Wed, 10 Dec 2003 13:00:13 -0800 (PST) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: freebsd-bugs@FreeBSD.org Subject: bin/60079: realpath(3) accepts zero size symbolic links Message-ID: <200312102100.hBAL0D3l039908@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR bin/60079; it has been noted by GNATS. From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: dada@sbox.tugraz.at Cc: freebsd-gnats-submit@freebsd.org Subject: bin/60079: realpath(3) accepts zero size symbolic links Date: Wed, 10 Dec 2003 15:57:12 -0500 (EST) <<On Tue, 9 Dec 2003 15:54:20 +0100, dada@sbox.tugraz.at said: > The libc realpath(3) routine accepts zero size symbolic links > without returning any error indication. Since namei(9) will > never accept such a path this behaviour is misleading and > could confuse applications. If namei(9) doesn't accept such a path it is broken. POSIX clearly (well, actually, murkily but definitively) specifies the (very unintuitive) meaning of such a symbolic link. -GAWollmanhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312102100.hBAL0D3l039908>
