find crashes when searching by inode number (-inum) on GNU/Hurd

Andrea Monaco <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Hello,


when searching by inode number (-inum predicate) on my GNU/Hurd system,
find crashes due to assertion "p->st_ino" in get_info failing.

The same assertion is also done in pred.c at line 501.  Inode numbers
are often assumed to start from one, but apparently this is not mandated
by POSIX and is not true on my system.

Do that assertions protect against some type of errors?  Otherwise we
could remove them.



Thanks,

Andrea Monaco
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.