mirror of https://github.com/YosysHQ/abc.git
Fix a memset that doesn't zero enough bytes.
This commit is contained in:
parent
7ccb25bfe9
commit
e195bf2f7e
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Reference in New Issue