summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerry James <loganjerry@gmail.com>2019-05-08 19:17:49 -0600
committerJerry James <loganjerry@gmail.com>2019-05-08 19:17:49 -0600
commite195bf2f7ee241c5b748ffbf39669163bd901913 (patch)
treea2527a08d00582630f68c9bb6205d014375538c4
parent7ccb25bfe929787dc0a4dafc0dead5951cdf0246 (diff)
downloadabc-e195bf2f7ee241c5b748ffbf39669163bd901913.tar.gz
abc-e195bf2f7ee241c5b748ffbf39669163bd901913.tar.bz2
abc-e195bf2f7ee241c5b748ffbf39669163bd901913.zip
Fix a memset that doesn't zero enough bytes.
-rw-r--r--src/base/abci/abc.c2
1 files changed, 1 insertions, 1 deletions
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 )