Skip to content

Commit

Permalink
conf: fix Use of uninitialized value oss-fuzz '69758'
Browse files Browse the repository at this point in the history
Signed-off-by: Arjun <[email protected]>
  • Loading branch information
pkillarjun committed Jun 19, 2024
1 parent 450b9f6 commit 576a18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nxt_conf_validation.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down

0 comments on commit 576a18b

Please sign in to comment.