Fix signed integer overflow in prioritisetransaction RPC

This commit is contained in:
MarcoFalke
2021-11-02 21:59:39 +01:00
committed by MacroFake
parent fa52cf8e11
commit fa07f84e31
2 changed files with 9 additions and 8 deletions

View File

@@ -1,10 +1,10 @@
# -fsanitize=undefined suppressions
# =================================
# This would be `signed-integer-overflow:CTxMemPool::PrioritiseTransaction`,
# The suppressions would be `sanitize-type:ClassName::MethodName`,
# however due to a bug in clang the symbolizer is disabled and thus no symbol
# names can be used.
# See https://github.com/google/sanitizers/issues/1364
signed-integer-overflow:txmempool.cpp
# https://github.com/bitcoin/bitcoin/pull/21798#issuecomment-829180719
signed-integer-overflow:policy/feerate.cpp