This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Fix ftw and nftw


Jakub Jelinek <jakub@redhat.com> writes:

> If the depth level at which {,n}ftw callback decides to return non-zero is
> bigger than the descriptors argument passed to {,n}ftw, we trigger an
> assertion in ftw_dir and depending on NDEBUG either don't behave correctly
> or abort.

Thanks, I've applied the patch after a little optimization.  Also the
tests are in although I'm not sure that they always will work.  We'll
see.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]