Merge pull request #37 from jamesjer/master

Fix a memset that doesn't zero enough bytes.
This commit is contained in:
alanminko 2019-05-10 16:34:01 +08:00 committed by GitHub
commit 04e0ef1b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 )