diff options
author | pjd <pjd@FreeBSD.org> | 2006-12-12 19:48:15 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-12-12 19:48:15 +0000 |
commit | 024a6b9fb418c70d8f99c0b11c604c6d9c1ee380 (patch) | |
tree | 1217a32bcc4b2343bf8b4f73888930060af7392c /lib/libc | |
parent | c1afd805761d3fd5ce3397771c20b42ca4d0395a (diff) | |
download | FreeBSD-src-024a6b9fb418c70d8f99c0b11c604c6d9c1ee380.zip FreeBSD-src-024a6b9fb418c70d8f99c0b11c604c6d9c1ee380.tar.gz |
The 'name1' argument to symlink(2) is only limited to 1023 characters,
its components are not checked.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/symlink.2 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/symlink.2 b/lib/libc/sys/symlink.2 index d8c9250..8bb9967 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. |