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 socket.io room messaging leak #206

Merged
merged 3 commits into from
Apr 24, 2024
Merged

Conversation

neketka
Copy link
Collaborator

@neketka neketka commented Apr 24, 2024

Summary

This pull request attempts to solve the message leaking from sending messages to client. This issue not only causes security issues but also interferes with the normal usage of the app.

  • Fixed bug

Remaining TODOs:

Test Plan

Run with multiple users of different privileges and see if privileges seem to leak from one user to another.

@dti-github-bot
Copy link
Member

dti-github-bot commented Apr 24, 2024

[diff-counting] Significant lines: 8.

@neketka neketka temporarily deployed to cornell-go-production April 24, 2024 20:41 Inactive
@neketka neketka marked this pull request as ready for review April 24, 2024 20:54
@neketka neketka enabled auto-merge (squash) April 24, 2024 20:56
Copy link
Contributor

@cathli66 cathli66 left a comment

Choose a reason for hiding this comment

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

Tested on prod, looks good!

@neketka neketka merged commit 2045861 into master Apr 24, 2024
12 checks passed
@neketka neketka deleted the nikita/fix-socket-io-leak branch April 24, 2024 20:57
shah-esha pushed a commit that referenced this pull request Dec 4, 2024
* Mark potential locations of bug

* Attempt fix

* Remove comments
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.

3 participants