diff options
author | eugene <elzeigel@gmail.com> | 2021-05-11 11:21:29 -0400 |
---|---|---|
committer | eugene <elzeigel@gmail.com> | 2021-05-11 11:21:29 -0400 |
commit | 9c891b64ffd14bc8216dbd5eb60816043af265b6 (patch) | |
tree | beefec68583cc30cc5586d5e19eb3d5b913ac830 /test | |
parent | f8176b768a1c1500ae64815960948eda415e9997 (diff) |
net: initialize nMessageSize to max uint32_t instead of -1
nMessageSize is uint32_t and is set to -1. This will warn with
-fsanitize=implicit-integer-sign-change.
Diffstat (limited to 'test')
-rw-r--r-- | test/sanitizer_suppressions/ubsan | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/sanitizer_suppressions/ubsan b/test/sanitizer_suppressions/ubsan index b66ca00376..4f6f92bd3c 100644 --- a/test/sanitizer_suppressions/ubsan +++ b/test/sanitizer_suppressions/ubsan @@ -62,7 +62,6 @@ implicit-integer-sign-change:key.cpp implicit-integer-sign-change:noui.cpp implicit-integer-sign-change:policy/fees.cpp implicit-integer-sign-change:prevector.h -implicit-integer-sign-change:protocol.cpp implicit-integer-sign-change:script/bitcoinconsensus.cpp implicit-integer-sign-change:script/interpreter.cpp implicit-integer-sign-change:serialize.h |