Panic in the --exclude-larger-than filter function

rejectBySize function from exclude.go don’t check fi for nil (similar rejectByDevice do this check)
and, if already scanned file quickly disappearing, this lead to panic.

And why, in the first place, you need this checks? Why Archiver.Save do error check after sending FileInfo to filter function?

1 Like

Hi and thanks for noticing this! As this is a bug report, can you please open an issue at GitHub? Then we can work on it from there.

Done.

2 Likes