-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http_server: health: check if hs_health_key is NULL(#3983)
If user accesses /api/v1/health before initializing, it is caused SIGSEGV. This patch is to check if it is NULL and allocate it before using. Signed-off-by: Takahiro Yamashita <[email protected]>
- Loading branch information
Showing
1 changed file
with
47 additions
and
9 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