bug-findutils
[Top][All Lists]
Advanced

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

[bug #16378] find aborts on file with mode 0000


From: James Youngman
Subject: [bug #16378] find aborts on file with mode 0000
Date: Wed, 19 Apr 2006 12:09:25 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (Ubuntu package 1.0.7)

Update of bug #16378 (project findutils):

                Severity:              3 - Normal => 6 - Security           
                 Privacy:                  Public => Private                
             Assigned to:                    None => jay                    

    _______________________________________________________

Follow-up Comment #2:

What OS are you running?  Exactly what command line did you use?  What type
of filesystem is the file on?

I failed to reproduce the problem here because get_statinfo() alwats
populates state.type with the contents of struct stat.st_mode which is not
zero even for a mode-0 file, because other bits (the bits we are interested
in, in fact) are non-zero, at least on the system I am testing on.

I believe that the fix is to remove the assertion, since it is valid I
suppose for st_mode to be zero, depending on the value of S_IFREG on your
system.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16378>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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