glibc/debug
Siddhesh Poyarekar 2bbd07c715 fortify: Fix spurious warning with realpath
The length and object size arguments were swapped around for realpath.
Also add a smoke test so that any changes in this area get caught in
future.

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
2021-12-17 18:49:27 +05:30
..
asprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
backtrace-tst.c
backtrace.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
backtracesyms.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
backtracesymsfd.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
catchsegv.sh Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
chk_fail.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
confstr_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
Depend
dprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
execinfo.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
explicit_bzero_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
fdelt_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fgets_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fgets_u_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fgetws_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fgetws_u_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fortify_fail.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fread_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fread_u_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fwprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getcwd_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getdomainname_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getgroups_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
gethostname_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
gets_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getwd_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
longjmp_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Makefile fortify: Fix spurious warning with realpath 2021-12-17 18:49:27 +05:30
mbsnrtowcs_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mbsrtowcs_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
mbstowcs_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
memcpy_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
memmove_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
mempcpy_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
memset_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
noophooks.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
obprintf_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
pcprofile.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
pcprofiledump.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
poll_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ppoll_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pread64_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pread_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
printf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
read_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
readlink_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
readlinkat_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
readonly-area.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
realpath_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
recv_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
recvfrom_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
segfault.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
snprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
stack_chk_fail_local.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
stack_chk_fail.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
stpcpy_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
stpncpy_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
strcat_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
strcpy_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
strncat_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
strncpy_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
swprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
test-stpcpy_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
test-strcpy_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-backtrace2.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-backtrace3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-backtrace4.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-backtrace5.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-backtrace6.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-backtrace.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-chk1.c debug: Add tests for _FORTIFY_SOURCE=3 2021-10-20 18:13:05 +05:30
tst-chk2.c
tst-chk3.c
tst-chk4.cc
tst-chk5.cc
tst-chk6.cc
tst-chk7.c debug: Add tests for _FORTIFY_SOURCE=3 2021-10-20 18:13:05 +05:30
tst-chk8.cc debug: Add tests for _FORTIFY_SOURCE=3 2021-10-20 18:13:05 +05:30
tst-lfschk1.c
tst-lfschk2.c
tst-lfschk3.c
tst-lfschk4.cc
tst-lfschk5.cc
tst-lfschk6.cc
tst-longjmp_chk2.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
tst-longjmp_chk3.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
tst-longjmp_chk.c
tst-realpath-chk.c fortify: Fix spurious warning with realpath 2021-12-17 18:49:27 +05:30
tst-ssp-1.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ttyname_r_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
vasprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
vdprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Versions
vfprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
vfwprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
vobprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
vprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
vsnprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
vsprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
vswprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
vwprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wcpcpy_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
wcpncpy_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
wcrtomb_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wcscat_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
wcscpy_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
wcsncat_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
wcsncpy_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
wcsnrtombs_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wcsrtombs_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wcstombs_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wctomb_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
wmemcpy_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
wmemmove_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
wmempcpy_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
wmemset_chk.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
wprintf_chk.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
xtrace.sh Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30