glibc/debug
Ulrich Drepper f9a906e786 * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by
sizeof (wchar_t) rather than multiplying __len by sizeof (wchar_t).
	Pass __bos (__dst) / sizeof (wchar_t) to the *_chk routine.
	* wcsmbs/bits/wchar2.h (mbsrtowcs, mbsnrtowcs): Likewise.
	* debug/mbsnrtowcs_chk.c (__mbsnrtowcs_chk): Don't multiply
	len by sizeof (wchar_t).
	* debug/mbsrtowcs_chk.c (__mbsrtowcs_chk): Likewise.
	* debug/mbstowcs_chk.c (__mbstowcs_chk): Likewise.
	Fix type of SRC argument.  Pass &SRC rather than SRC to
	__mbsrtowcs.
	* debug/wcstombs_chk.c (__wcstombs_chk): Pass &SRC rather than SRC
	to __wcsrtombs.
	* debug/tst-chk1.c: Include assert.h.
	(do_test): Change enough array from VLA into a fixed size array.
	Assert that MB_CUR_MAX is <= sizeof (enough).  Use FAIL () macro
	instead of print error details.  Add several new tests.
	Kill some unused variable warnings.
2005-08-22 15:13:39 +00:00
..
backtrace-tst.c
catchsegv.sh
chk_fail.c
confstr_chk.c * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID 2005-07-18 21:07:28 +00:00
Depend * stdlib/bits/stdlib.h: New file. 2005-07-13 06:09:58 +00:00
execinfo.h
fgets_chk.c
fgets_u_chk.c
fgetws_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
fgetws_u_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
fprintf_chk.c
fwprintf_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
getcwd_chk.c
getdomainname_chk.c * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID 2005-07-18 21:07:28 +00:00
getgroups_chk.c * wcsmbs/bits/wchar2.h (swprintf): Remove format argument. 2005-07-21 16:23:54 +00:00
gethostname_chk.c * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID 2005-07-18 21:07:28 +00:00
getlogin_r_chk.c * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID 2005-07-18 21:07:28 +00:00
gets_chk.c
getwd_chk.c
Makefile * debug/mbstowcs_chk.c: New file. 2005-07-25 21:41:45 +00:00
mbsnrtowcs_chk.c * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by 2005-08-22 15:13:39 +00:00
mbsrtowcs_chk.c * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by 2005-08-22 15:13:39 +00:00
mbstowcs_chk.c * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by 2005-08-22 15:13:39 +00:00
noophooks.c
pcprofile.c
pcprofiledump.c
pread64_chk.c * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64. 2005-06-14 15:55:44 +00:00
pread_chk.c
printf_chk.c
ptsname_r_chk.c * stdlib/bits/stdlib.h: New file. 2005-07-13 06:09:58 +00:00
read_chk.c
readlink_chk.c
realpath_chk.c * stdlib/bits/stdlib.h: New file. 2005-07-13 06:09:58 +00:00
recv_chk.c
recvfrom_chk.c
snprintf_chk.c
sprintf_chk.c
stack_chk_fail_local.c * Versions.def (ld): Add GLIBC_2.4. 2005-06-26 18:14:26 +00:00
stack_chk_fail.c * Versions.def (ld): Add GLIBC_2.4. 2005-06-26 18:14:26 +00:00
swprintf_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
test-stpcpy_chk.c
test-strcpy_chk.c
tst-chk1.c * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by 2005-08-22 15:13:39 +00:00
tst-chk2.c
tst-chk3.c
tst-lfschk1.c * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t 2005-03-20 16:51:05 +00:00
tst-lfschk2.c * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t 2005-03-20 16:51:05 +00:00
tst-lfschk3.c * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t 2005-03-20 16:51:05 +00:00
ttyname_r_chk.c * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID 2005-07-18 21:07:28 +00:00
Versions * debug/mbstowcs_chk.c: New file. 2005-07-25 21:41:45 +00:00
vfprintf_chk.c Add libc_hidden_def. 2005-08-09 01:24:11 +00:00
vfwprintf_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
vprintf_chk.c
vsnprintf_chk.c
vsprintf_chk.c
vswprintf_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
vwprintf_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
warning-nop.c (__builtin___memcpy_chk): Define away to 2005-03-28 07:09:47 +00:00
wcpcpy_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wcpncpy_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wcrtomb_chk.c * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs, 2005-07-20 07:43:27 +00:00
wcscat_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wcscpy_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wcsncat_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wcsncpy_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wcsnrtombs_chk.c * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs, 2005-07-20 07:43:27 +00:00
wcsrtombs_chk.c * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs, 2005-07-20 07:43:27 +00:00
wcstombs_chk.c * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by 2005-08-22 15:13:39 +00:00
wctomb_chk.c * stdlib/bits/stdlib.h: New file. 2005-07-13 06:09:58 +00:00
wmemcpy_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wmemmove_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wmempcpy_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wmemset_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wprintf_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
xtrace.sh