diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2023-06-08 14:34:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 14:34:05 +0300 |
commit | 028e26a194f5421432b577ee67afed8b66c0f6b7 (patch) | |
tree | 9b774ffa948def2b9be01c9bc8ba90cf4c1eea55 /health | |
parent | 35eeffd8e123465aca00c3464b8e1031b3f450e6 (diff) |
Fix CID 385073 -- Uninitialized scalar variable (#15163)
Fix CID 385073 Uninitialized scalar variable
Diffstat (limited to 'health')
-rw-r--r-- | health/health_config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/health/health_config.c b/health/health_config.c index e21e7785be..a11fd51cde 100644 --- a/health/health_config.c +++ b/health/health_config.c @@ -202,6 +202,7 @@ static inline char *health_config_add_key_to_values(char *value) { char *s = value; size_t i = 0; + key[0] = '\0'; while(*s) { if (*s == '=') { //hold the key |