summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2022-12-27 22:01:20 +0100
committerAlejandro Colomar <alx@kernel.org>2022-12-27 22:01:20 +0100
commit99af0e76d86c41673c8924a1c6ea4eaced5cbf7c (patch)
treedc618a5a0875aa1615d6b1ba36e571400c402e71
parent21f56d83b3ba721e3331b725c0a79163799101ae (diff)
stpecpy.3: stpecpy() doesn't SIGSEGV on invalid input
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--share/man/man3/stpecpy.33
1 files changed, 0 insertions, 3 deletions
diff --git a/share/man/man3/stpecpy.3 b/share/man/man3/stpecpy.3
index 175d321..03cce57 100644
--- a/share/man/man3/stpecpy.3
+++ b/share/man/man3/stpecpy.3
@@ -43,9 +43,6 @@ char *
{
char *p;
- if (src[strlen(src)] != \(aq\e0\(aq)
- raise(SIGSEGV);
-
if (dst == end || dst == NULL)
return dst;