freebsd-dev/lib/libc/tests
Conrad Meyer 241eb37e29 libc glob: Avoid pathological exponential behavior
Adapt glob's match() routine to use a greedy algorithm that avoids
exponential runtime in byzantine inputs.

While here, add a testcase for the byzantine input.

Prompted by:	https://research.swtch.com/glob
Authored by:	Yves Orton <demerphq at gmail.com>
Obtained from:	Perl (33252c318625f3c6c89b816ee88481940e3e6f95)
Sponsored by:	Dell EMC Isilon
2017-05-03 15:55:29 +00:00
..
c063 Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
db Upgrade NetBSD tests to 01.11.2017_23.20 snapshot 2017-01-13 03:33:57 +00:00
gen libc glob: Avoid pathological exponential behavior 2017-05-03 15:55:29 +00:00
hash Remove CFLAGS for sha2_test 2017-01-14 12:55:32 +00:00
iconv Increase WARNS for iconv tests 2017-03-11 00:02:05 +00:00
inet Checkpoint initial integration work 2016-08-12 08:50:05 +00:00
locale Don't build/install lib/libc/io_test anymore 2017-03-20 03:50:22 +00:00
net Re-add PACKAGE=> tests to lib/libc/tests/net/getaddrinfo/Makefile and add 2016-09-19 06:59:17 +00:00
nss Increase WARNS for nss tests 2017-03-11 00:03:41 +00:00
regex Add -DSKIP_LEFTASSOC to CFLAGS so leftassoc is skipped, like on NetBSD 2017-01-15 10:03:03 +00:00
resolv Increase timeout from 10 minutes to 20 minutes for all tests 2016-08-13 01:49:11 +00:00
rpc Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
setjmp Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
ssp This commit addresses regression introduceded in r302177 2016-06-28 07:47:42 +00:00
stdio Expect :int_within_limits to fail when ptrdiff_t/*intmax_t differ in base type 2017-02-07 05:39:00 +00:00
stdlib Implement the memset_s(3) function as specified by the C11 ISO/IEC 2017-03-30 04:57:26 +00:00
string Fix strcoll_l disagreeing with strxfrm by reworking the forward order case in 2017-04-16 19:12:07 +00:00
sys Add clock_nanosleep() 2017-03-19 00:51:12 +00:00
termios Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
time Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
tls Manipulate OBJDIR with :H when referencing dso directory 2017-02-11 20:14:50 +00:00
tls_dso Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
ttyio Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
Makefile Only build lib/libc/tests/iconv if MK_ICONV != no 2016-10-21 04:54:43 +00:00
Makefile.depend DIRDEPS_BUILD: Connect MK_TESTS. 2016-03-09 22:46:01 +00:00
Makefile.netbsd-tests Change WARNS to 2 across the board with all the libc testcases 2015-11-15 05:21:58 +00:00