MarcoFalke
7de2cf9b25
Merge bitcoin/bitcoin#23992 : fuzz: Limit fuzzed time to years 2000-2100
...
fa7238300c fuzz: Limit fuzzed time to years 2000-2100 (MarcoFalke)
Pull request description:
It doesn't make sense to fuzz times in the past, as Bitcoin Core will refuse to start in the past.
Fix that and also remove a sanitizer suppression, which would be hit in net_processing in `ProcessMessage`:
```cpp
if (addr.nTime <= 100000000 || addr.nTime > nNow + 10 * 60)
addr.nTime = nNow - 5 * 24 * 60 * 60; // <-- Here
```
This changes the format of fuzz inputs. Previously a time value was (de)serialized as 40 bytes, now it is 32 bytes.
ACKs for top commit:
mzumsande:
Code Review ACK fa7238300c
Tree-SHA512: ca6e7233beec2d9ef9fd481d8f1331942a4d2c8fe518b857629bebcc53a4f42ae123b994cf5d359384a0a8022098ff5a9c146600bc2593c6d88734e25bc240ad
2022-01-17 08:43:16 +01:00
..
2021-12-17 10:46:39 +01:00
2021-11-19 12:41:47 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2021-11-19 12:41:47 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2020-12-10 07:15:42 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2021-11-12 19:51:55 +00:00
2021-12-30 19:36:57 +02:00
2020-12-10 07:15:42 +01:00
2022-01-11 05:11:00 -05:00
2021-12-02 15:24:55 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-17 10:46:39 +01:00
2021-11-12 19:51:55 +00:00
2020-12-10 07:15:42 +01:00
2021-12-17 23:04:04 +05:30
2021-12-30 19:36:57 +02:00
2020-12-10 07:15:42 +01:00
2021-08-21 19:25:33 +02:00
2021-12-30 19:36:57 +02:00
2020-12-31 09:45:41 +01:00
2021-12-30 19:36:57 +02:00
2022-01-06 22:14:16 -05:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2020-12-10 07:15:42 +01:00
2021-12-30 19:36:57 +02:00
2021-05-21 19:41:43 +00:00
2021-08-21 19:25:33 +02:00
2021-03-09 12:56:44 +01:00
2022-01-06 11:29:55 -05:00
2020-12-10 07:15:42 +01:00
2020-12-10 07:15:42 +01:00
2021-05-24 10:29:58 +02:00
2022-01-05 10:34:29 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-08-04 19:20:32 +08:00
2021-06-13 09:43:54 +02:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2020-12-10 07:15:42 +01:00
2022-01-06 22:14:16 -05:00
2021-09-22 10:39:08 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2021-06-04 16:12:04 +02:00
2021-12-07 13:13:18 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2020-12-31 09:45:41 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2020-12-31 09:45:41 +01:00
2021-12-30 19:36:57 +02:00
2021-03-03 09:17:37 +01:00
2021-11-19 12:41:47 +01:00
2021-12-17 10:46:39 +01:00
2021-12-30 19:36:57 +02:00
2020-12-10 07:15:42 +01:00
2021-12-01 12:15:01 +01:00
2021-12-01 12:15:01 +01:00
2020-12-10 07:15:42 +01:00
2022-01-06 22:14:16 -05:00
2020-12-10 07:15:42 +01:00
2021-12-30 19:36:57 +02:00
2021-10-05 11:10:37 +02:00
2021-12-08 14:20:16 +01:00
2021-12-06 16:18:14 -05:00
2020-12-10 07:15:42 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2020-12-10 07:15:42 +01:00
2021-11-12 19:51:55 +00:00
2020-12-15 19:00:36 +01:00
2021-12-30 19:36:57 +02:00
2021-11-19 12:41:47 +01:00
2021-11-12 19:51:55 +00:00
2020-12-10 07:15:42 +01:00
2020-12-10 07:15:42 +01:00
2021-12-30 19:36:57 +02:00
2021-03-03 09:17:37 +01:00
2021-03-16 19:52:37 +01:00
2020-12-10 07:15:42 +01:00
2020-12-31 09:45:41 +01:00
2022-01-11 19:54:36 -05:00
2021-05-09 10:25:21 +02:00
2021-09-29 13:24:14 +02:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2021-12-30 19:36:57 +02:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2022-01-06 22:14:16 -05:00
2021-12-30 19:36:57 +02:00
2022-01-10 11:15:38 +01:00
2022-01-05 15:32:53 +01:00
2022-01-06 22:14:16 -05:00
2021-06-10 15:04:39 -04:00
2021-11-12 19:51:55 +00:00