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

Input validation for mysql-server_capabilities #4424

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Input validation for mysql-server_capabilities #4424

merged 1 commit into from
Jan 19, 2024

Conversation

renecannao
Copy link
Contributor

Input validation on mysql-server_capabilities assumed that it was 16 bits (for historical reasons). This has now improved and supports up to 32 bits.

Notes:

  • some capabilities are changed at runtime while performing the handshake with the client
  • even if we support 32 bits capabilities, many of them do not have any real meaning for proxysql (not supported)

Closes #2091

Input validation on mysql-server_capabilities assumed that it was 16 bits (for historical reasons).
This has now improved and supports up to 32 bits.

Notes:
- some capabilities are changed at runtime while performing the handshake with the client
- even if we support 32 bits capabilities, many of them do not have any real meaning for proxysql (not supported)

Closes #2091
@renecannao renecannao merged commit 44ebd62 into v2.x Jan 19, 2024
108 of 256 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.

Impossible to set variable server_capabilities with value "569867". Resetting to current "569899"
1 participant