From 50a24bbcdef8e0a2cbd17f4fd970bfbdc97a35f1 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 18 Jul 2012 16:20:55 +0200 Subject: [PATCH] strcpy.3: Add some text to emphasize possibility of buffer runs with strcpy() Signed-off-by: Michael Kerrisk --- man3/strcpy.3 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/man3/strcpy.3 b/man3/strcpy.3 index e3ea43ea8..f2ffa9307 100644 --- a/man3/strcpy.3 +++ b/man3/strcpy.3 @@ -49,6 +49,8 @@ including the terminating null byte (\(aq\\0\(aq), to the buffer pointed to by \fIdest\fP. The strings may not overlap, and the destination string \fIdest\fP must be large enough to receive the copy. +.IR "Beware of buffer overruns!" +(See BUGS.) .PP The .BR strncpy ()