From 2f0f63800766e8070e774bbf93136aec889a7e31 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Mon, 21 Nov 2022 12:23:11 -0800 Subject: [PATCH] Make sure all 32 bits of bit-field are initialized. Found with msan static analysis which noticed an uninitialized bit. Signed-off-by: Henner Zeller --- src/bool/kit/kitCloud.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bool/kit/kitCloud.c b/src/bool/kit/kitCloud.c index dea567494..5f7fec6d9 100644 --- a/src/bool/kit/kitCloud.c +++ b/src/bool/kit/kitCloud.c @@ -31,7 +31,7 @@ ABC_NAMESPACE_IMPL_START typedef struct Kit_Mux_t_ Kit_Mux_t; struct Kit_Mux_t_ { - unsigned v : 5; // variable + unsigned v : 6; // variable unsigned t : 12; // then edge unsigned e : 12; // else edge unsigned c : 1; // complemented attr of else edge