freebsd-skq/lib/libc/string
brooks 50e4d892f3 Avoid reading pass the end of the source buffer when it is not NUL
terminated.

If this buffer is adjacent to an unmapped page or a version of C with
bounds checked is used this may result in a crash.

PR:		206177
Submitted by:	Alexander Cherepanov <cherepan@mccme.ru>
MFC after:	1 week
2016-01-13 21:49:01 +00:00
..
bcmp.3
bcmp.c
bcopy.3 Fix spelling. 2015-08-24 01:53:18 +00:00
bcopy.c
bstring.3
bzero.3 Update bzero(3) manpage to following the Posix Standard. 2015-08-24 01:51:10 +00:00
bzero.c
ffs.3 Document bitset(9) 2015-10-17 19:55:58 +00:00
ffs.c
ffsl.c
ffsll.c
fls.c
flsl.c
flsll.c
index.3
Makefile.inc Remove duplicated code. 2014-10-16 22:04:07 +00:00
memccpy.3
memccpy.c
memchr.3
memchr.c
memcmp.3
memcmp.c
memcpy.3
memcpy.c
memmem.3 memmem(3): empty little string matches the beginning of the big string 2015-05-26 21:16:07 +00:00
memmem.c memmem(3): empty little string matches the beginning of the big string 2015-05-26 21:16:07 +00:00
memmove.3
memmove.c
memrchr.c
memset.3
memset.c
stpcpy.c
stpncpy.c
strcasecmp.3 Fix strcasecmp_l() and strncasecmp_l() POSIX 2008 compliance. 2014-05-30 01:09:07 +00:00
strcasecmp.c
strcasestr.c
strcat.3
strcat.c
strchr.3 strchr(3): Mdoc fixes. 2015-06-04 21:54:46 +00:00
strchr.c
strchrnul.c Add declaration to eliminate -Wmissing-prototypes warning. 2015-09-20 03:51:15 +00:00
strcmp.3
strcmp.c
strcoll.3
strcoll.c Fix typo 2015-08-09 00:19:14 +00:00
strcpy.3
strcpy.c
strcspn.c
strdup.3
strdup.c
strerror.3 use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
strerror.c
string.3
strlcat.c Make strlcpy/strlcat slightly easier to read. 2015-04-06 03:21:22 +00:00
strlcpy.3
strlcpy.c Make strlcpy/strlcat slightly easier to read. 2015-04-06 03:21:22 +00:00
strlen.3
strlen.c
strmode.3
strmode.c
strncat.c
strncmp.c
strncpy.c
strndup.c Replace strndup with OpenBSD's implementation. 2015-08-26 23:28:10 +00:00
strnlen.c
strnstr.c
strpbrk.3
strpbrk.c
strrchr.c
strsep.3
strsep.c
strsignal.c
strspn.3 Various mdoc fixes and a few EOL whitespace removals. 2014-12-21 12:36:36 +00:00
strspn.c
strstr.3
strstr.c
strtok.3 use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
strtok.c
strxfrm.3
strxfrm.c Fix typo 2015-08-09 00:19:14 +00:00
swab.3
swab.c
Symbol.map Add explicit_bzero(3) and its kernel counterpart. 2014-10-07 04:54:11 +00:00
wcpcpy.c
wcpncpy.c
wcscasecmp.c
wcscat.c
wcschr.c
wcscmp.c
wcscoll.3
wcscoll.c collate: Fix expansion substitions (broken upstream too) 2015-10-23 23:24:03 +00:00
wcscpy.c
wcscspn.c
wcsdup.c
wcslcat.c
wcslcpy.c
wcslen.c
wcsncasecmp.c
wcsncat.c Avoid reading pass the end of the source buffer when it is not NUL 2016-01-13 21:49:01 +00:00
wcsncmp.c
wcsncpy.c
wcsnlen.c
wcspbrk.c
wcsrchr.c
wcsspn.c
wcsstr.c
wcstok.3
wcstok.c
wcswidth.3
wcswidth.c
wcsxfrm.3
wcsxfrm.c The collate functions within libc have been using version 1 and 1.2 of the 2015-08-07 23:41:26 +00:00
wmemchr.3
wmemchr.c
wmemcmp.c
wmemcpy.c
wmemmove.c
wmemset.c