diff options
author | Alejandro Colomar <alx@kernel.org> | 2022-12-27 22:01:20 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2022-12-27 22:01:20 +0100 |
commit | 99af0e76d86c41673c8924a1c6ea4eaced5cbf7c (patch) | |
tree | dc618a5a0875aa1615d6b1ba36e571400c402e71 | |
parent | 21f56d83b3ba721e3331b725c0a79163799101ae (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.3 | 3 |
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; |