[PATCH] posix: Avoid a stack overflow when glob is given many trailing slashes [BZ #30635]

Bruno Haible bruno@clisp.org
Sat Oct 11 13:25:45 GMT 2025


Adhemerval Zanella Netto wrote:
> >> There is also https://sourceware.org/bugzilla/show_bug.cgi?id=33537,
> > 
> > Your fix of [BZ #30635] fixes this one as well, AFAICS from testing within
> > Gnulib. So, it's the same bug, but you might want to adjust the comment
> > in posix/glob.c and maybe add a second test case.
> 
> Hi Bruno, could you mark the bug as duplicate then?

I'll gladly do that when the test case has been added to glibc's test suite.

(I don't see a way in bugzilla to mark a bug as a duplicate without moving
it to "resolved" state. And I don't like to mark bugs as "resolved" before
they have been fully handled.)

Bruno





More information about the Libc-alpha mailing list