[Bug] Set of List<Pathmatch> returns on even just one of the set being found. #182

Closed
opened 2026-01-29 21:06:52 +00:00 by claunia · 0 comments
Owner

Originally created by @HeroponRikiBestest on GitHub (Nov 4, 2024).

Specific instance bug was found was in the check for "Rainbow NetSentinel Monitor for DOS", which was finding WINE's find.exe but none of the other 3 files and triggering it anyways. Presumably happens on any other similar checks.

058dfaeb37/BinaryObjectScanner/Protection/RainbowSentinel.cs (L348-L355)

To reproduce: just name a file file.exe, put it somewhere, and have BoS scan that directory.

Originally created by @HeroponRikiBestest on GitHub (Nov 4, 2024). Specific instance bug was found was in the check for "Rainbow NetSentinel Monitor for DOS", which was finding WINE's find.exe but none of the other 3 files and triggering it anyways. Presumably happens on any other similar checks. https://github.com/SabreTools/BinaryObjectScanner/blob/058dfaeb372ac89859a740c022fd698a9838f19c/BinaryObjectScanner/Protection/RainbowSentinel.cs#L348-L355 To reproduce: just name a file file.exe, put it somewhere, and have BoS scan that directory.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/BinaryObjectScanner#182