glibc/nss
Stefan Liebler f0c5a803bd Fix gcc 9 build errors for make xcheck. [BZ #24556]
This patch fixes the following gcc 9 warnings for "make xcheck" / "make bench":
-string/tst-strcasestr.c:
../include/bits/../../misc/bits/error.h:42:5: error: ‘%s’ directive argument is null [-Werror=format-overflow=]

-argp/argp-test.c:
argp-test.c:130:20: error: ‘%d’ directive writing between 1 and 11 bytes into a region of size 10 [-Werror=format-overflow=]
argp-test.c:130:19: note: directive argument in the range [-2147483648, 122]
argp-test.c:130:5: note: ‘sprintf’ output between 2 and 12 bytes into a destination of size 10

-nss/tst-field.c:
tst-field.c:52:7: error: ‘%s’ directive argument is null [-Werror=format-overflow=]

-benchtests/bench-strstr.c:
../include/bits/../../misc/bits/error.h:42:5: error: ‘%s’ directive argument is null [-Werror=format-overflow=]

-benchtests/bench-malloc-simple.c:
bench-malloc-simple.c:93:16: error: iteration 3 invokes undefined behavior [-Werror=aggressive-loop-optimizations]

ChangeLog:

	[BZ #24556]
	* string/test-strcasestr.c (check_result): Add NULL check.
	* nss/tst-field.c (check_rewrite): Likewise.
	* benchtests/bench-strstr.c (do_one_test): Likewise.
	* string/test-strstr.c (check_result): Likewise.
	* argp/argp-test.c (popt): Increase size of buf to 12.
	* benchtests/bench-malloc-simple.c (bench):
	Do not initialize tests array out of bounds.
2019-06-19 12:32:04 +02:00
..
nss_compat nss: Turn __nss_database_lookup into a compatibility symbol 2019-05-15 15:07:49 +02:00
nss_db Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nss_files nss_files: Remove RES_USE_INET6 from hosts processing 2019-05-16 15:11:23 +02:00
tst-nss-files-hosts-long.root/etc nss: tst-nss-files-hosts-long: Add host.conf [BZ #21915] 2019-02-21 16:02:29 -05:00
tst-nss-test3.root Add test-in-container infrastructure. 2018-08-22 21:20:37 -04:00
alias-lookup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
bug17079.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
bug-erange.c
compat-lookup.c nss: Turn __nss_database_lookup into a compatibility symbol 2019-05-15 15:07:49 +02:00
databases.def Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
db-Makefile Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Depend
digits_dots.c CVE-2016-10739: getaddrinfo: Fully parse IPv4 address strings [BZ #20018] 2019-01-21 21:26:03 +01:00
ethers-lookup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
function.def Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getent.c nss: getent: Print IPv6 scope ID for ahosts/ahostsv6 if available 2019-02-12 14:26:20 +01:00
getnssent_r.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getnssent.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getXXbyYY_r.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getXXbyYY.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getXXent_r.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
getXXent.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
grp-lookup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
hosts-lookup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
key-lookup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
makedb.c Update copyright dates not handled by scripts/update-copyrights. 2019-01-01 00:15:13 +00:00
Makefile nss: Fix tst-nss-files-alias-truncated for default --as-needed linking 2019-03-14 15:38:00 +01:00
netgrp-lookup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
network-lookup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nss_hash.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nss_test1.c Add some spaces before '('. 2019-02-27 13:55:45 +00:00
nss_test2.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nss_test.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nss_test.ver Extend NSS test suite 2017-07-17 15:52:44 -04:00
nss.h Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
nsswitch.c nss: Turn __nss_database_lookup into a compatibility symbol 2019-05-15 15:07:49 +02:00
nsswitch.conf
nsswitch.h nss: Turn __nss_database_lookup into a compatibility symbol 2019-05-15 15:07:49 +02:00
proto-lookup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
pwd-lookup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
rewrite_field.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
rpc-lookup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
service-lookup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
sgrp-lookup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
spwd-lookup.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
test-digits-dots.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
test-netdb.c Add some spaces before '('. 2019-02-27 13:55:45 +00:00
tst-cancel-getpwuid_r.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-field.c Fix gcc 9 build errors for make xcheck. [BZ #24556] 2019-06-19 12:32:04 +02:00
tst-nss-files-alias-leak.c nss/tst-nss-files-alias-leak: add missing opening quote in printf 2019-03-25 12:22:53 -03:00
tst-nss-files-alias-truncated.c nss: Fix tst-nss-files-alias-truncated for default --as-needed linking 2019-03-14 15:38:00 +01:00
tst-nss-files-hosts-erange.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-nss-files-hosts-getent.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-nss-files-hosts-long.c nss: Add tst-nss-files-hosts-long test [BZ #21915] 2019-02-08 14:38:27 -05:00
tst-nss-files-hosts-multi.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-nss-getpwent.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-nss-static.c Update nss tests to new skeleton 2017-08-17 18:00:51 -04:00
tst-nss-test1.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-nss-test2.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-nss-test3.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-nss-test4.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
tst-nss-test5.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
valid_field.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
valid_list_field.c Update copyright dates with scripts/update-copyrights. 2019-01-01 00:11:28 +00:00
Versions nss: Turn __nss_database_lookup into a compatibility symbol 2019-05-15 15:07:49 +02:00
XXX-lookup.c nss: Turn __nss_database_lookup into a compatibility symbol 2019-05-15 15:07:49 +02:00