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

pool share label #557

Merged
merged 2 commits into from May 2, 2024
Merged

pool share label #557

merged 2 commits into from May 2, 2024

Conversation

vird
Copy link
Collaborator

@vird vird commented Apr 24, 2024

No description provided.

@@ -28,7 +28,8 @@
seed = not_set, %% serialized
session_key = not_set, %% serialized
start_interval_number = not_set, %% serialized
step_number = not_set %% serialized
step_number = not_set, %% serialized
label = <<"not_set">> %% not term, for prevent term table pollution DoS
Copy link
Collaborator

Choose a reason for hiding this comment

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

"term" here means atom? Like you want to prevent a malicious actor from submitting a lot of different shares with different labels and overflowing the erlang 1,048,576 atom limit?

Copy link
Collaborator

@JamesPiechota JamesPiechota left a comment

Choose a reason for hiding this comment

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

LGTM!

I had a question about one comment. If I understand correctly, might be worth changing "term" to "atom"

@JamesPiechota JamesPiechota merged commit ef69b0d into master May 2, 2024
58 checks passed
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.

None yet

2 participants