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

Do not use mmap for CA certificate #4577

Merged
merged 2 commits into from
Jul 1, 2024
Merged

Do not use mmap for CA certificate #4577

merged 2 commits into from
Jul 1, 2024

Conversation

renecannao
Copy link
Contributor

In proxysql_SSL_CTX_local_x509store_add_file(), instead of use mmap() we now read the file with pread().
This to avoid rare scenarios in which the CA file is modified while reading it.

Rene Cannao added 2 commits June 30, 2024 22:33
In proxysql_SSL_CTX_local_x509store_add_file(), instead of use mmap()
we now read the file with pread().
This to avoid rare scenarios in which the CA file is modified while
reading it.
@renecannao renecannao merged commit 1e048ce into v2.x Jul 1, 2024
28 of 51 checks passed
rahim-kanji pushed a commit that referenced this pull request Sep 24, 2024
In proxysql_SSL_CTX_local_x509store_add_file(), instead of use mmap() we now read the file with pread().
This to avoid rare scenarios in which the CA file is modified while reading it.
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