Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Stack overflow while building goto cache when encountering self-referencing link with empty cFileName #194

Closed
bytes-and-bits opened this issue Aug 5, 2018 · 1 comment

Comments

@bytes-and-bits
Copy link
Contributor

I have access to several Win7 machines which have security software that creates a link with an empty name that points to itself - probably some kind of attempt to foil directory-crawling malware. When running the latest release of Winfile I get a stack overflow when it attempts to traverse the link while building the goto cache. Windows Explorer completely ignores the link so I don't see it there, while Winfile will show the link with a blank name, and it lets me traverse it down multiple levels. Winfile should at least ignore those links when building the goto cache, if not ignore them globally.

dir_structure

empty_cfilename

stack_overflow

@bytes-and-bits
Copy link
Contributor Author

Fix verified in the 1901 release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant