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

fix: inifite loop when passing certain paths to findFile #1430

Merged
merged 1 commit into from
May 22, 2023

Conversation

tido64
Copy link
Member

@tido64 tido64 commented May 16, 2023

Description

findFile assumes the first parameter is always a filename. If a path is passed, the root directory is never reached and thus not terminate the loop.

Platforms affected

  • Android
  • iOS
  • macOS
  • Windows

Test plan

See #1428.

`findFile` assumes the first parameter is always a filename. If a path
is passed, the root directory is never reached and thus not terminate
the loop.
@tido64 tido64 merged commit bef8c06 into trunk May 22, 2023
@tido64 tido64 deleted the tido/fix-infinite-loop branch May 22, 2023 09:37
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

Successfully merging this pull request may close these issues.

2 participants