[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #27369] 'ftsfind -ok ... <&-' attempts to read directory fd

From: Eric Blake
Subject: [bug #27369] 'ftsfind -ok ... <&-' attempts to read directory fd
Date: Wed, 02 Sep 2009 18:20:11 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)

Follow-up Comment #1, bug #27369 (project findutils):

We are NOT consistently using the gnulib *_safer modules.  Both find.c and
ftsfind.c called unprotected open() in main(), and ftsfind.c called
unprotected dup().  Furthermore, find.c uses the closein module, but ftsfind.c
only used the closeout module.

We need at least this patch in addition to bumping import-gnulib.config to
the latest gnulib (although I'm toying with the idea of making defs.h just
include all the headers up front, rather than trying to the includes of each
affected file).  This patch would also need a NEWS entry and testsuite

(file #18670)

Additional Item Attachment:

File name: findutils.patch1               Size:3 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]