From b5f713124b043e287d2b0db252088c69533b9e63 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Wed, 20 Apr 2022 20:49:47 -0500 Subject: seedrng: initialize seed_dir --- src/seedrng/seedrng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/seedrng/seedrng.c b/src/seedrng/seedrng.c index 234b1aa0..daca8952 100644 --- a/src/seedrng/seedrng.c +++ b/src/seedrng/seedrng.c @@ -455,7 +455,7 @@ int main(int argc, char **argv) static const char seedrng_prefix[] = "SeedRNG v1 Old+New Prefix"; static const char seedrng_failure[] = "SeedRNG v1 No New Seed Failure"; int opt, fd, dfd, program_ret = 0; - char *seed_dir; + char *seed_dir = NULL; uint8_t new_seed[MAX_SEED_LEN]; size_t new_seed_len; bool new_seed_creditable; -- cgit v1.2.3