File tree 2 files changed +2
-3
lines changed
test/sanitizer_suppressions
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ bool CastToBool(const valtype& vch)
51
51
* Script is a stack machine (like Forth) that evaluates a predicate
52
52
* returning a bool indicating valid or not. There are no loops.
53
53
*/
54
- #define stacktop (i ) (stack.at(stack.size()+(i )))
55
- #define altstacktop (i ) (altstack.at(altstack.size()+(i )))
54
+ #define stacktop (i ) (stack.at(size_t ( int64_t ( stack.size()) + int64_t {i} )))
55
+ #define altstacktop (i ) (altstack.at(size_t ( int64_t ( altstack.size()) + int64_t {i} )))
56
56
static inline void popstack (std::vector<valtype>& stack)
57
57
{
58
58
if (stack.empty ())
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ unsigned-integer-overflow:MurmurHash3
55
55
unsigned-integer-overflow:CBlockPolicyEstimator::processBlockTx
56
56
unsigned-integer-overflow:TxConfirmStats::EstimateMedianVal
57
57
unsigned-integer-overflow:prevector.h
58
- unsigned-integer-overflow:EvalScript
59
58
unsigned-integer-overflow:InsecureRandomContext::rand64
60
59
unsigned-integer-overflow:InsecureRandomContext::SplitMix64
61
60
unsigned-integer-overflow:bitset_detail::PopCount
You can’t perform that action at this time.
0 commit comments