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: fix server crash on invalid scenario id role list req #257

Merged

Conversation

wjin-lee
Copy link
Member

  • Fixes a server crash when making a role list query for an invalid scenario ID.
  • Removes redundant console log (logging assigned scenarios) that was spamming console on every rerender.

This is a potential fix for the following bug bounty:
image
However, as backend nor network request logs were gathered, we cannot verify for sure.
Current thinking is that an invalid role list request was made on login, crashing the backend. Consequently, this makes subsequent requests fail with a ERR_CONNECTION_REFUSED, before the HTTP protocol can even send a request.

@wjin-lee wjin-lee requested a review from harbassan October 19, 2024 06:13
Copy link
Contributor

@harbassan harbassan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good :)

@wjin-lee wjin-lee merged commit e90be77 into master Oct 19, 2024
7 checks passed
@wjin-lee wjin-lee deleted the wlee_fix-server-crash-on-invalid-scenario-id-role-list-req branch October 19, 2024 06:19
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