From b8f5525f705511165cdb236f035001fc39c2ffd7 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Tue, 12 Dec 2006 19:48:15 +0000 Subject: [PATCH] The 'name1' argument to symlink(2) is only limited to 1023 characters, its components are not checked. --- lib/libc/sys/symlink.2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libc/sys/symlink.2 b/lib/libc/sys/symlink.2 index d8c925084503..8bb9967db1e5 100644 --- a/lib/libc/sys/symlink.2 +++ b/lib/libc/sys/symlink.2 @@ -67,7 +67,9 @@ A component of the .Fa name2 prefix is not a directory. .It Bq Er ENAMETOOLONG -A component of either pathname exceeded 255 characters, +A component of the +.Fa name2 +pathname exceeded 255 characters, or the entire length of either path name exceeded 1023 characters. .It Bq Er ENOENT The named file does not exist.