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

Check minimum table sizes in stream options validator #107

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

Ostrzyciel
Copy link
Member

Name and datatype tables can be easily set to 0 size by accident, which will cause the encoder to blow up when it tries to encode anything. This commit introduces a hardcoded check to make sure the tables have a minimum reasonable size.

Name and datatype tables can be easily set to 0 size by accident, which will cause the encoder to blow up when it tries to encode anything. This commit introduces a hardcoded check to make sure the tables have a minimum reasonable size.
@Ostrzyciel Ostrzyciel merged commit a20a68e into main Jul 10, 2024
4 checks passed
@Ostrzyciel Ostrzyciel deleted the ostrzyciel/min-table-sizes branch July 10, 2024 08:47
Ostrzyciel added a commit that referenced this pull request Jul 10, 2024
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.

1 participant