From 8442f0d966da5a9333e961af9e98b41aabdd9f1b Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 18 Jan 2022 16:31:39 +0100 Subject: Fix handling of unterminated bracket expressions in fnmatch (bug 28792) When fnmatch processes a bracket expression, and eventually finds it to be unterminated, it should rescan it, treating the starting bracket as a normal character. That didn't happen when a matching character was found while scanning the bracket expression. --- posix/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posix/Makefile') diff --git a/posix/Makefile b/posix/Makefile index 24d8bfd303..831759c59f 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -101,7 +101,7 @@ tests := test-errno tstgetopt testfnm runtests runptests \ bug-getopt5 tst-getopt_long1 bug-regex34 bug-regex35 \ tst-pathconf tst-rxspencer-no-utf8 \ tst-fnmatch3 bug-regex36 \ - tst-fnmatch4 tst-fnmatch5 tst-fnmatch6 \ + tst-fnmatch4 tst-fnmatch5 tst-fnmatch6 tst-fnmatch7 \ tst-posix_spawn-fd tst-posix_spawn-setsid \ tst-posix_fadvise tst-posix_fadvise64 \ tst-sysconf-empty-chroot tst-glob_symlinks tst-fexecve \ -- cgit 1.4.1