bug-findutils
[Top][All Lists]
Advanced

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

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


From: Andrea Monaco
Subject: find crashes when searching by inode number (-inum) on GNU/Hurd
Date: Wed, 22 Dec 2021 09:34:12 +0100

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



reply via email to

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