git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
61977f9
)
Fix OP_EVAL recursion depth counting
author
Wladimir J. van der Laan
<laanwj@gmail.com>
Tue, 27 Dec 2011 09:02:28 +0000 (10:02 +0100)
committer
Wladimir J. van der Laan
<laanwj@gmail.com>
Tue, 27 Dec 2011 09:02:28 +0000 (10:02 +0100)
src/script.cpp
patch
|
blob
|
history
diff --git
a/src/script.cpp
b/src/script.cpp
index
0a1b3bb
..
f576e14
100644
(file)
--- a/
src/script.cpp
+++ b/
src/script.cpp
@@
-1033,7
+1033,7
@@
bool EvalScriptInner(vector<vector<unsigned char> >& stack, const CScript& scrip
return false;
if (!EvalScriptInner(stack, subscript, txTo, nIn, nHashType,
- pbegincodehash, pendcodehash, nOpCount, nSigOpCount, fStrictOpEval, nRecurseDepth++))
+ pbegincodehash, pendcodehash, nOpCount, nSigOpCount, fStrictOpEval, nRecurseDepth+1))
return false;
}
break;