Fix handling of collating elements in fnmatch (bug 17396, bug 16976)
authorAndreas Schwab <schwab@suse.de>
Tue, 16 Sep 2014 09:17:04 +0000 (11:17 +0200)
committerAndreas Schwab <schwab@suse.de>
Mon, 4 Feb 2019 14:45:02 +0000 (15:45 +0100)
commit65f7767a914144ae303f7b9ae81865061793dcb9
tree9af5f491383e603957b206d18336972572cde7c1
parent3f635fb43389b54f682fc9ed2acc0b2aaf4a923d
Fix handling of collating elements in fnmatch (bug 17396, bug 16976)

This fixes the same bug in fnmatch that was fixed by commit 7e2f0d2d77 for
regexp matching.  As a side effect it also removes the use of an unbound
VLA.
ChangeLog
include/wchar.h
posix/Makefile
posix/fnmatch.c
posix/fnmatch_loop.c
posix/tst-fnmatch4.c [new file with mode: 0644]
posix/tst-fnmatch5.c [new file with mode: 0644]
sysdeps/i386/i686/multiarch/wmemcmp.c
sysdeps/s390/wmemcmp.c
sysdeps/x86_64/multiarch/wmemcmp.c
wcsmbs/wmemcmp.c