Re: [PATCH 2/5] posix: Sync glob code with gnulib

2020-12-31 Thread Paul Eggert
On 12/30/20 12:15 PM, Adhemerval Zanella wrote: It sync with gnulib commit 43ee1a6bf and fixes and use-after-free bug (gnulib commit 717766da8926e36). The main change over gnulib is: --- posix/glob.c +++ lib/glob.c @@ -59,6 +59,12 @@ # define readdir(str) __readdir64 (str) # define getpwnam

[PATCH 2/5] posix: Sync glob code with gnulib

2020-12-30 Thread Adhemerval Zanella
It sync with gnulib commit 43ee1a6bf and fixes and use-after-free bug (gnulib commit 717766da8926e36). The main change over gnulib is: --- posix/glob.c +++ lib/glob.c @@ -59,6 +59,12 @@ # define readdir(str) __readdir64 (str) # define getpwnam_r(name, bufp, buf, len, res) \ __getpwnam_r (n