Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant