From 9fcbdf5222e13f8cb1311fe8317d8dfa6646c0a7 Mon Sep 17 00:00:00 2001 From: Scott Vokes Date: Thu, 10 Oct 2024 13:32:38 -0400 Subject: [PATCH] Ensure .has_eager_outputs is zeroed on new states. (msan) --- src/libfsm/state.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libfsm/state.c b/src/libfsm/state.c index d96c33653..8f1146038 100644 --- a/src/libfsm/state.c +++ b/src/libfsm/state.c @@ -65,6 +65,7 @@ fsm_addstate(struct fsm *fsm, fsm_state_t *state) new->visited = 0; new->epsilons = NULL; new->edges = NULL; + new->has_eager_outputs = 0; } fsm->statecount++;