From 576a18b70b43deb95a38d7bfd1ecb29132a60d5a Mon Sep 17 00:00:00 2001 From: Arjun Date: Wed, 19 Jun 2024 12:53:27 +0530 Subject: [PATCH] conf: fix Use of uninitialized value oss-fuzz '69758' Signed-off-by: Arjun --- src/nxt_conf_validation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c index 4aaa1b9a8..1beec0139 100644 --- a/src/nxt_conf_validation.c +++ b/src/nxt_conf_validation.c @@ -1551,7 +1551,7 @@ static nxt_int_t nxt_conf_vldt_var(nxt_conf_validation_t *vldt, const nxt_str_t *name, nxt_str_t *value) { - u_char error[NXT_MAX_ERROR_STR]; + u_char error[NXT_MAX_ERROR_STR] = {0}; if (nxt_tstr_test(vldt->tstr_state, value, error) != NXT_OK) { return nxt_conf_vldt_error(vldt, "%s in the \"%V\" value.",