-
Notifications
You must be signed in to change notification settings - Fork 981
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not use mmap for CA certificate #4577
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.
- Loading branch information
1 parent
465eaef
commit 2c9f89a
Showing
1 changed file
with
20 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters