sahib / rmlint

Extremely fast tool to remove duplicates and other lint from your filesystem
http://rmlint.rtfd.org
GNU General Public License v3.0
1.86k stars 128 forks source link

utilities: Prevent deadlock in rm_util_is_nonstripped #557

Closed cebtenzzre closed 1 year ago

cebtenzzre commented 2 years ago

Only attempt to open regular files. It is entirely possible that we encounter an executable FIFO, which causes open() to block indefinitely if it is not opened for writing by another process.

Fixes #555