posix: Remove alloca usage for internal fnmatch implementation
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 4 Jan 2021 18:46:52 +0000 (15:46 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 21 Oct 2021 13:30:31 +0000 (10:30 -0300)
commit4e32c8f5682004d0571395fe9fa1bc1b73b40f4c
treeae864c72985da7a17440e2bf908ba054b12672c3
parent8a9a59311551e833ca064de44ac23b193e1b704d
posix: Remove alloca usage for internal fnmatch implementation

This patch replaces the internal fnmatch pattern list generation
to use a dynamic array.

Checked on x86_64-linux-gnu.
posix/fnmatch.c
posix/fnmatch_loop.c