From e8e781100f2ef7ba89baa5e20e281fcebc2de5f1 Mon Sep 17 00:00:00 2001 From: mar Date: Mon, 4 Jan 1993 10:21:57 +0000 Subject: [PATCH 1/1] uninitialized variable could cause coredump --- clients/mmoira/parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/mmoira/parser.c b/clients/mmoira/parser.c index e90724f3..a23c51e0 100644 --- a/clients/mmoira/parser.c +++ b/clients/mmoira/parser.c @@ -156,6 +156,7 @@ char *prompt; n = nod; state = MATCH; + best = NULNODE; for (ln = line; n && state == MATCH; best && (n = best->p_next)) { last = best; state = single_parse(&ln, n, &best, &ambig, &nomatch); -- 2.45.2