mirror of https://github.com/YosysHQ/abc.git
Merge pull request #37 from jamesjer/master
Fix a memset that doesn't zero enough bytes.
This commit is contained in:
commit
04e0ef1b57
|
|
@ -8025,7 +8025,7 @@ int Abc_CommandExact( Abc_Frame_t * pAbc, int argc, char ** argv )
|
||||||
if ( argc == globalUtilOptind )
|
if ( argc == globalUtilOptind )
|
||||||
goto usage;
|
goto usage;
|
||||||
|
|
||||||
memset( pTruth, 0, 64 );
|
memset( pTruth, 0, 64 * sizeof(word) );
|
||||||
while ( globalUtilOptind < argc )
|
while ( globalUtilOptind < argc )
|
||||||
{
|
{
|
||||||
if ( nFunc == 16 )
|
if ( nFunc == 16 )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue