diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-13 17:46:30 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-07-13 17:46:30 -0700 |
commit | 6578d9cd00f4b73d5db897db3826448165366143 (patch) | |
tree | b5ddbdeff11fe396b905b2e5122e7fc9befb213d /src/sat/bsat | |
parent | 4051572726c7fa7e54ab9bf74dac8c0038465afe (diff) | |
download | abc-6578d9cd00f4b73d5db897db3826448165366143.tar.gz abc-6578d9cd00f4b73d5db897db3826448165366143.tar.bz2 abc-6578d9cd00f4b73d5db897db3826448165366143.zip |
Debugging a proof error.
Diffstat (limited to 'src/sat/bsat')
-rw-r--r-- | src/sat/bsat/satProof.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sat/bsat/satProof.c b/src/sat/bsat/satProof.c index 53f60384..93232f08 100644 --- a/src/sat/bsat/satProof.c +++ b/src/sat/bsat/satProof.c @@ -443,6 +443,7 @@ int Sat_ProofReduce( Vec_Set_t * vProof, void * pRoots, int hProofPivot ) int X = Proof_NodeWordNum(pNode->nEnts); hTemp = pNode->Id; pNode->Id = 0; assert( hTemp > 1 ); + assert( hTemp + Proof_NodeWordNum(pNode->nEnts) < (1<<vProof->nPageSize) ); memmove( Vec_SetEntry(vProof, hTemp), pNode, sizeof(word)*Proof_NodeWordNum(pNode->nEnts) ); if ( pPivot && pPivot <= pNode ) { |