@cryptotaxi247 / netdata-1 / commits / 028e26a19

Fix CID 385073 -- Uninitialized scalar variable (#15163)

Fix CID 385073 Uninitialized scalar variable

Stelios Fragkakis committed Jun 8, 2023 at 14:34 UTC 028e26a194f5421432b577ee67afed8b66c0f6b7
1 file changed +1
health/health_config.c
+1
@@ -202,6 +202,7 @@ static inline char *health_config_add_key_to_values(char *value) {
202 char *s = value;
203 size_t i = 0;
204
205 + key[0] = '\0';
206 while(*s) {
207 if (*s == '=') {
208 //hold the key