[Bug glob/16976] fnmatch unbounded stack VLA for collating symbols

cvs-commit at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Mon Feb 4 14:46:00 GMT 2019


https://sourceware.org/bugzilla/show_bug.cgi?id=16976

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  65f7767a914144ae303f7b9ae81865061793dcb9 (commit)
      from  3f635fb43389b54f682fc9ed2acc0b2aaf4a923d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=65f7767a914144ae303f7b9ae81865061793dcb9

commit 65f7767a914144ae303f7b9ae81865061793dcb9
Author: Andreas Schwab <schwab@suse.de>
Date:   Tue Sep 16 11:17:04 2014 +0200

    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.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                        |   19 ++
 include/wchar.h                                  |    2 +
 posix/Makefile                                   |    4 +-
 posix/fnmatch.c                                  |    6 +-
 posix/fnmatch_loop.c                             |  228 ++++++++-------------
 elf/tst-absolute-sym.c => posix/tst-fnmatch4.c   |   25 ++-
 nptl/tst-mtx-recursive.c => posix/tst-fnmatch5.c |   37 ++--
 sysdeps/i386/i686/multiarch/wmemcmp.c            |    3 +-
 sysdeps/s390/wmemcmp.c                           |    7 +-
 sysdeps/x86_64/multiarch/wmemcmp.c               |    3 +-
 wcsmbs/wmemcmp.c                                 |    9 +-
 11 files changed, 163 insertions(+), 180 deletions(-)
 copy elf/tst-absolute-sym.c => posix/tst-fnmatch4.c (67%)
 copy nptl/tst-mtx-recursive.c => posix/tst-fnmatch5.c (62%)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list