File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
test/sanitizer_suppressions Expand file tree Collapse file tree 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)
5151 * Script is a stack machine (like Forth) that evaluates a predicate
5252 * returning a bool indicating valid or not. There are no loops.
5353 */
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} )))
5656static inline void popstack (std::vector<valtype>& stack)
5757{
5858 if (stack.empty ())
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ unsigned-integer-overflow:MurmurHash3
5555unsigned-integer-overflow:CBlockPolicyEstimator::processBlockTx
5656unsigned-integer-overflow:TxConfirmStats::EstimateMedianVal
5757unsigned-integer-overflow:prevector.h
58- unsigned-integer-overflow:EvalScript
5958unsigned-integer-overflow:InsecureRandomContext::rand64
6059unsigned-integer-overflow:InsecureRandomContext::SplitMix64
6160unsigned-integer-overflow:bitset_detail::PopCount
You can’t perform that action at this time.
0 commit comments