W. J. van der Laan
6b49d88a5d
Merge bitcoin/bitcoin#21905 : net: initialize nMessageSize to uint32_t max
...
9c891b64ffd14bc8216dbd5eb60816043af265b6 net: initialize nMessageSize to max uint32_t instead of -1 (eugene)
Pull request description:
nMessageSize is uint32_t and is set to -1. This will warn with `-fsanitize=implicit-integer-sign-change` when V1TransportDeserializer calls into the ctor. This pull initializes nMessageSize to `numeric_limits<uint32_t>::max()` instead and removes the ubsan suppression.
ACKs for top commit:
laanwj:
Code review ACK 9c891b64ffd14bc8216dbd5eb60816043af265b6
promag:
Code review ACK 9c891b64ffd14bc8216dbd5eb60816043af265b6.
Tree-SHA512: f05173d9553a01d207a5a7f8ff113d9e11354c50b494a67d44d3931c151581599a9da4e28f40edd113f4698ea9115e6092b2a5b7329c841426726772076c1493
2021-05-12 17:39:39 +02:00
..
2021-05-03 11:50:30 +02:00
2021-03-10 14:31:10 +08:00
2021-04-12 11:14:49 +10:00
2020-12-08 19:26:30 +01:00
2021-04-19 20:28:46 +02:00
2021-05-12 10:47:35 +02:00
2021-04-23 03:02:50 -05:00
2021-04-23 03:02:50 -05:00
2021-04-23 03:02:50 -05:00
2021-05-07 11:11:05 +08:00
2021-05-01 09:42:50 +02:00
2020-12-31 09:45:41 +01:00
2021-05-11 11:55:20 +02:00
2021-05-11 11:55:20 +02:00
2021-05-04 06:55:31 +02:00
2020-10-27 23:08:48 -07:00
2021-02-01 15:17:28 +01:00
2021-05-12 14:58:47 +02:00
2020-11-19 15:48:24 +01:00
2021-05-12 08:51:32 +02:00
2021-05-11 11:55:20 +02:00
2021-05-04 06:55:30 +02:00
2021-02-18 10:07:37 +00:00
2021-02-18 15:08:35 +01:00
2020-12-31 09:45:41 +01:00
2021-01-29 15:39:44 +08:00
2021-01-29 12:39:55 +00:00
2020-12-31 09:45:41 +01:00
2021-05-02 22:17:16 +03:00
2021-01-31 17:35:16 +01:00
2020-12-31 09:45:41 +01:00
2021-03-17 17:59:22 -07:00
2021-03-17 17:59:22 -07:00
2020-11-18 12:00:57 -05:00
2021-04-20 10:35:53 +02:00
2020-11-18 12:00:57 -05:00
2021-03-23 10:51:43 -04:00
2021-01-12 18:34:25 +10:00
2021-01-18 18:33:24 +01:00
2020-11-18 12:00:57 -05:00
2021-01-21 19:31:28 +01:00
2020-11-18 12:00:57 -05:00
2021-04-23 03:02:50 -05:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-02-12 07:53:29 -06:00
2021-04-14 22:53:54 -04:00
2021-04-06 10:47:51 +02:00
2021-04-12 11:14:49 +10:00
2020-12-31 09:45:41 +01:00
2021-05-02 13:37:50 +02:00
2020-09-24 06:55:34 +03:00
2020-12-31 09:45:41 +01:00
2021-02-01 22:30:05 +02:00
2021-02-12 07:53:29 -06:00
2021-03-23 11:11:02 +01:00
2021-03-01 17:36:16 +01:00
2021-05-04 06:53:32 +02:00
2021-03-23 10:51:43 -04:00
2021-01-04 12:31:31 +08:00
2021-03-23 10:51:43 -04:00
2021-01-04 12:23:16 +08:00
2021-05-04 06:53:37 +02:00
2021-02-01 15:17:28 +01:00
2021-04-12 19:29:03 -04:00
2021-04-13 20:09:34 +08:00
2021-04-13 20:09:34 +08:00
2021-02-10 20:46:25 +00:00
2021-01-15 22:48:15 +01:00
2021-01-15 22:48:15 +01:00
2021-01-04 12:23:16 +08:00
2020-12-31 09:45:41 +01:00
2021-04-07 04:53:26 -04:00
2021-03-29 23:29:42 +02:00
2021-05-09 13:48:07 +03:00
2021-04-08 16:31:55 +02:00
2021-03-16 13:59:18 +01:00
2021-05-12 10:47:35 +02:00
2021-04-07 04:53:26 -04:00
2021-03-16 10:48:36 -07:00
2021-01-24 02:44:53 +01:00
2021-05-04 06:55:30 +02:00
2021-05-04 06:55:30 +02:00
2021-04-23 03:02:50 -05:00
2021-04-23 03:02:50 -05:00
2021-05-12 08:51:32 +02:00
2021-01-07 18:07:09 +02:00
2020-12-08 19:26:30 +01:00
2020-10-27 19:40:44 +01:00
2021-05-10 13:46:21 +02:00
2021-03-29 11:12:26 +08:00
2021-03-04 12:34:46 +08:00
2021-03-30 10:42:45 +02:00
2021-05-08 09:32:45 +02:00
2021-04-29 18:39:01 +03:00
2021-01-07 18:07:09 +02:00
2021-01-04 12:31:31 +08:00
2020-12-31 09:45:41 +01:00
2021-04-05 11:13:51 -04:00
2021-04-05 11:13:51 -04:00
2020-12-31 09:45:41 +01:00
2021-04-18 16:32:28 +02:00
2021-05-04 09:31:03 +01:00
2021-05-04 09:31:03 +01:00
2021-05-12 08:51:32 +02:00
2021-04-17 20:13:34 +02:00
2021-04-01 08:06:01 +00:00
2021-03-01 13:22:11 +01:00
2021-03-30 17:41:13 +02:00
2021-04-06 14:50:17 +08:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-01-03 18:37:59 +01:00
2021-01-03 18:37:59 +01:00
2021-05-11 11:21:29 -04:00
2021-05-11 11:21:29 -04:00
2021-02-01 15:17:28 +01:00
2021-03-17 14:56:20 +08:00
2021-05-10 14:35:31 +02:00
2021-05-10 14:35:31 +02:00
2021-05-04 06:55:31 +02:00
2021-03-29 11:08:29 +08:00
2021-04-17 17:37:37 +02:00
2021-01-13 02:05:00 +01:00
2021-01-29 15:39:44 +08:00
2020-10-09 10:32:19 +02:00
2021-04-04 18:08:36 +02:00
2021-04-04 18:08:36 +02:00
2021-04-13 10:24:31 +08:00
2021-03-15 10:41:30 +08:00
2020-11-25 15:18:33 +01:00
2021-05-05 20:19:03 +02:00
2021-01-26 15:57:28 +08:00
2021-04-05 08:42:15 +02:00
2020-12-31 09:45:41 +01:00
2020-10-12 19:50:16 -07:00
2020-12-01 18:36:39 +01:00
2021-04-25 12:28:44 +03:00
2021-03-02 12:21:32 +00:00
2021-03-11 13:45:14 +08:00
2021-04-25 12:28:44 +03:00
2021-03-18 18:43:52 +01:00
2021-02-27 01:08:09 +10:00
2021-04-07 19:26:25 +01:00
2021-04-07 19:26:25 +01:00
2020-10-12 12:14:53 -07:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-05-10 14:02:46 +02:00
2021-05-05 16:03:03 +02:00
2020-09-22 11:34:30 -04:00
2020-09-22 11:34:30 -04:00
2020-12-31 09:45:41 +01:00
2021-04-12 11:14:49 +10:00
2021-04-12 11:14:49 +10:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00