aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2020-02-08 21:17:48 +0000
committerEitan Adler <eadler@FreeBSD.org>2020-02-08 21:17:48 +0000
commit66a23ebe19d34c52f8684eee835d4e96e4517ec0 (patch)
tree9880b8f997a096ab10d01f4842ca8ef1af4da2ec /lib/libc/string
parenta00eed96766d6978ddf7fe93d02fe7980d3b7a90 (diff)
Notes
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/memset.35
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/string/memset.3 b/lib/libc/string/memset.3
index 2239bd64abb49..87635e2a8ac3d 100644
--- a/lib/libc/string/memset.3
+++ b/lib/libc/string/memset.3
@@ -63,8 +63,9 @@ Undefined behaviour from
.Fn memset ,
resulting from storage overflow, will occur if
.Fa len
-is greater than the length of buffer
-.Fa dest .
+is greater than the length of the
+.Fa dest
+buffer.
The behaviour is also undefined if
.Fa dest
is an invalid pointer.