From e195bf2f7ee241c5b748ffbf39669163bd901913 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Wed, 8 May 2019 19:17:49 -0600 Subject: Fix a memset that doesn't zero enough bytes. --- src/base/abci/abc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c index b538db54..153f7817 100644 --- a/src/base/abci/abc.c +++ b/src/base/abci/abc.c @@ -8025,7 +8025,7 @@ int Abc_CommandExact( Abc_Frame_t * pAbc, int argc, char ** argv ) if ( argc == globalUtilOptind ) goto usage; - memset( pTruth, 0, 64 ); + memset( pTruth, 0, 64 * sizeof(word) ); while ( globalUtilOptind < argc ) { if ( nFunc == 16 ) -- cgit v1.2.3