summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2014-09-16 11:17:04 +0200
committerAndreas Schwab <schwab@suse.de>2019-02-04 15:45:02 +0100
commit65f7767a914144ae303f7b9ae81865061793dcb9 (patch)
tree9af5f491383e603957b206d18336972572cde7c1 /ChangeLog
parent3f635fb43389b54f682fc9ed2acc0b2aaf4a923d (diff)
downloadglibc-65f7767a914144ae303f7b9ae81865061793dcb9.tar.gz
glibc-65f7767a914144ae303f7b9ae81865061793dcb9.tar.xz
glibc-65f7767a914144ae303f7b9ae81865061793dcb9.zip
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a0dcdac323..ef9688627d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2019-02-04  Andreas Schwab  <schwab@suse.de>
+
+	[BZ #16976]
+	[BZ #17396]
+	* posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
+	looking up collating elements match against (wide) character
+	sequence instead of name.  Correct alignment adjustment.
+	* posix/fnmatch.c: Don't include "../locale/elem-hash.h".
+	(WMEMCMP) [HANDLE_MULTIBYTE]: Define.
+	* posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
+	(LOCALES): Add cs_CZ.ISO-8859-2.
+	* posix/tst-fnmatch4.c: New file.
+	* posix/tst-fnmatch5.c: New file.
+	* include/wchar.h (__wmemcmp): Declare.
+	* wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
+	* sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
+	* sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
+	* sysdeps/s390/wmemcmp.c: Likewise.
+
 2019-02-04  H.J. Lu  <hongjiu.lu@intel.com>
 
 	[BZ #24155]