practicalswift
ec8dedff46
net: Add missing lock in ProcessHeadersMessage(...)
...
Reading the variable mapBlockIndex requires holding the mutex cs_main.
The new "Disconnect outbound peers relaying invalid headers" code
added in commit 37886d5e2f9992678dea4b1bd893f4f10d61d3ad and merged
as part of #11568 two days ago did not lock cs_main prior to accessing
mapBlockIndex.
Github-Pull: #11578
Rebased-From: 2530bf27b72e53cc6ffec27de35f3b487984833d
2017-11-02 13:20:18 -04:00
..
2017-08-14 16:30:59 +02:00
2017-05-31 22:21:25 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-01 12:40:42 -07:00
2017-07-20 16:56:45 +02:00
2017-07-24 16:32:21 +02:00
2017-10-18 20:55:35 +02:00
2017-11-02 13:11:54 -04:00
2017-10-03 22:03:09 +02:00
2017-06-22 19:18:10 +03:00
2017-08-07 07:36:37 +02:00
2017-11-02 13:18:44 -04:00
2017-11-01 15:23:06 -04:00
2017-08-14 17:02:10 +02:00
2017-07-04 18:05:18 +02:00
2017-06-01 16:42:07 -07:00
2017-06-01 16:42:07 -07:00
2017-08-07 07:36:37 +02:00
2017-10-04 11:48:39 +02:00
2017-05-03 18:00:13 +02:00
2017-06-07 17:21:29 +00:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-14 17:02:10 +02:00
2017-10-03 20:12:07 +02:00
2017-08-14 17:02:10 +02:00
2017-07-15 14:28:40 +02:00
2017-06-22 03:48:52 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-10-19 15:02:08 +02:00
2017-06-22 15:21:22 -04:00
2017-08-14 17:02:10 +02:00
2017-05-03 18:15:47 +02:00
2017-07-30 14:04:51 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-07-14 19:24:17 +00:00
2017-06-28 11:44:22 -07:00
2017-07-22 09:11:55 +02:00
2017-07-08 13:33:01 -07:00
2017-08-21 09:49:16 +02:00
2017-07-07 10:45:31 -07:00
2017-07-12 14:03:42 -04:00
2017-08-21 09:49:16 +02:00
2017-06-24 11:28:04 +02:00
2017-08-14 17:02:10 +02:00
2017-08-07 07:36:37 +02:00
2017-06-09 10:25:26 +02:00
2017-05-19 02:01:28 -07:00
2017-07-08 13:33:01 -07:00
2017-05-26 13:24:25 -07:00
2017-08-14 17:02:10 +02:00
2017-06-12 20:37:43 +02:00
2017-08-14 17:02:10 +02:00
2017-07-17 17:42:09 +02:00
2017-11-02 13:17:58 -04:00
2017-07-17 14:56:52 +02:00
2017-08-07 07:36:37 +02:00
2017-08-21 09:49:05 +02:00
2017-06-09 10:25:26 +02:00
2017-06-28 02:12:06 +02:00
2017-07-20 09:03:53 -07:00
2017-06-09 19:25:36 -07:00
2017-07-13 12:49:05 -04:00
2017-08-21 10:48:17 +02:00
2017-10-03 18:50:43 +02:00
2017-10-04 11:59:33 +02:00
2017-06-22 03:48:52 +02:00
2017-07-17 15:12:39 -07:00
2017-07-12 10:48:37 -05:00
2017-08-14 17:02:10 +02:00
2017-06-12 20:37:43 +02:00
2017-11-02 13:20:18 -04:00
2017-11-02 13:18:34 -04:00
2017-11-02 13:16:50 -04:00
2017-11-02 13:16:50 -04:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-10-09 22:31:41 +02:00
2017-07-22 09:11:55 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-06-26 13:40:26 +02:00
2017-07-16 21:22:05 +02:00
2017-08-07 07:36:37 +02:00
2017-08-14 16:30:59 +02:00
2017-06-14 15:22:15 +02:00
2017-08-07 07:36:37 +02:00
2017-07-15 21:19:44 +02:00
2017-07-23 14:51:22 -04:00
2017-07-10 21:08:19 -04:00
2017-07-08 13:33:01 -07:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-14 17:02:10 +02:00
2017-08-14 17:02:10 +02:00
2017-08-14 17:02:10 +02:00
2017-06-28 18:26:41 +02:00
2017-07-04 18:05:18 +02:00
2017-08-07 07:36:37 +02:00
2017-06-29 17:48:08 +02:00
2017-07-14 19:24:17 +00:00
2017-08-14 17:02:36 +02:00
2017-08-14 17:02:36 +02:00
2017-08-07 17:10:42 +02:00
2017-11-02 13:08:43 -04:00
2017-11-02 13:08:43 -04:00
2017-08-07 07:36:37 +02:00
2017-05-10 15:49:00 -04:00
2017-11-02 13:19:57 -04:00
2017-11-02 13:19:57 -04:00
2017-10-04 11:54:36 +02:00
2017-07-15 20:04:04 +02:00
2017-06-09 01:45:36 +02:00
2017-10-03 18:19:35 +02:00
2017-08-07 07:36:37 +02:00
2017-08-14 17:02:10 +02:00
2017-07-22 09:55:57 +02:00