Commit c7da61d
MarcoFalke
Merge bitcoin#24403: Avoid implicit-integer-sign-change in VerifyLoadedChainstate
fa79916 Fixup style of VerifyDB (MarcoFalke)
fa462ea Avoid implicit-integer-sign-change in VerifyLoadedChainstate (MarcoFalke)
Pull request description:
This happens when checking all blocks (`-1`).
To test:
```
./configure CC=clang CXX=clang++ --with-sanitizers=undefined,integer
make
UBSAN_OPTIONS="suppressions=$(pwd)/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:report_error_type=1" ./test/functional/rpc_blockchain.py
ACKs for top commit:
theStack:
Code-review ACK fa79916
brunoerg:
crACK fa79916
Tree-SHA512: bcbe6becf2fbedd21bbde83a544122e79465937346802039532143b2e4165784905a8852c0ccb088b964874df5e5550931fdde3629cbcee3ae237f2f63c43a8eFile tree
4 files changed
+28
-15
lines changed- src
- node
- test/functional
4 files changed
+28
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
| 132 | + | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3843 | 3843 | | |
3844 | 3844 | | |
3845 | 3845 | | |
3846 | | - | |
| 3846 | + | |
3847 | 3847 | | |
| 3848 | + | |
3848 | 3849 | | |
3849 | 3850 | | |
3850 | | - | |
| 3851 | + | |
3851 | 3852 | | |
| 3853 | + | |
3852 | 3854 | | |
3853 | 3855 | | |
3854 | 3856 | | |
| |||
3863 | 3865 | | |
3864 | 3866 | | |
3865 | 3867 | | |
3866 | | - | |
| 3868 | + | |
3867 | 3869 | | |
3868 | 3870 | | |
3869 | | - | |
| 3871 | + | |
3870 | 3872 | | |
3871 | 3873 | | |
3872 | | - | |
| 3874 | + | |
3873 | 3875 | | |
| 3876 | + | |
3874 | 3877 | | |
3875 | 3878 | | |
3876 | 3879 | | |
| |||
3879 | 3882 | | |
3880 | 3883 | | |
3881 | 3884 | | |
3882 | | - | |
| 3885 | + | |
3883 | 3886 | | |
| 3887 | + | |
3884 | 3888 | | |
3885 | | - | |
| 3889 | + | |
3886 | 3890 | | |
3887 | 3891 | | |
| 3892 | + | |
3888 | 3893 | | |
3889 | 3894 | | |
3890 | 3895 | | |
| |||
3912 | 3917 | | |
3913 | 3918 | | |
3914 | 3919 | | |
3915 | | - | |
| 3920 | + | |
3916 | 3921 | | |
| 3922 | + | |
3917 | 3923 | | |
3918 | 3924 | | |
3919 | 3925 | | |
| |||
3922 | 3928 | | |
3923 | 3929 | | |
3924 | 3930 | | |
3925 | | - | |
| 3931 | + | |
3926 | 3932 | | |
3927 | 3933 | | |
3928 | | - | |
| 3934 | + | |
3929 | 3935 | | |
3930 | 3936 | | |
3931 | 3937 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
73 | 80 | | |
74 | 81 | | |
75 | 82 | | |
| |||
0 commit comments