Mark Andrews
a39b4552a9
Move lock earlier in the call sequence
...
fctx->state should be read with the lock held.
1559 /*
1560 * Caller must be holding the fctx lock.
1561 */
CID 468796: (#1 of 1): Data race condition (MISSING_LOCK)
1. missing_lock: Accessing fctx->state without holding lock fetchctx.lock.
Elsewhere, fetchctx.state is written to with fetchctx.lock held 2 out of 2 times.
1562 REQUIRE(fctx->state == fetchstate_done);
1563
1564 FCTXTRACE("sendevents");
1565
1566 LOCK(&fctx->lock);
1567
(cherry picked from commit 43f0b0e8eb )
2024-08-29 12:46:43 +00:00
..
2024-08-26 15:54:02 +00:00
2024-08-22 08:16:03 +00:00
2024-08-26 15:54:02 +00:00
2024-06-10 16:55:09 +02:00
2024-03-08 15:36:56 -08:00
2024-08-13 16:57:50 +02:00
2024-08-07 21:12:34 +00:00
2024-08-05 14:43:18 +00:00
2024-08-05 14:43:18 +00:00
2024-03-08 15:36:56 -08:00
2024-03-04 16:34:14 +01:00
2024-03-08 15:36:56 -08:00
2024-08-22 10:17:08 +00:00
2024-04-26 16:12:29 +03:00
2024-04-26 16:08:46 +03:00
2024-02-14 13:24:56 +01:00
2024-01-25 14:48:07 +01:00
2024-03-14 10:25:07 -07:00
2024-02-08 08:01:58 +01:00
2024-08-23 08:05:16 +10:00
2024-01-25 14:47:43 +01:00
2024-08-23 07:44:13 +10:00
2024-01-25 15:37:40 +01:00
2024-03-14 10:25:07 -07:00
2024-08-22 10:17:08 +00:00
2024-05-07 10:01:12 +10:00
2024-08-01 03:48:08 +00:00
2024-08-02 06:42:59 +00:00
2024-04-30 12:50:01 -07:00
2024-04-30 12:50:01 -07:00
2024-04-17 17:14:34 +02:00
2024-04-02 10:35:56 +02:00
2024-02-08 08:01:58 +01:00
2024-01-25 14:48:07 +01:00
2024-01-25 14:48:07 +01:00
2024-05-16 09:49:41 +00:00
2024-03-08 15:36:56 -08:00
2024-07-01 12:48:51 +02:00
2024-03-06 20:57:31 -08:00
2024-08-05 14:43:18 +00:00
2024-06-10 16:55:09 +02:00
2024-08-05 14:43:18 +00:00
2024-02-29 11:23:03 +01:00
2024-08-05 14:43:18 +00:00
2024-08-05 14:43:18 +00:00
2024-08-01 01:10:48 +00:00
2024-08-22 08:16:03 +00:00
2024-02-07 09:52:32 +11:00
2024-02-13 09:21:49 +11:00
2024-08-29 12:46:43 +00:00
2024-03-06 10:49:02 +01:00
2024-04-02 10:35:56 +02:00
2024-04-23 13:11:52 +02:00
2024-04-10 22:51:07 -04:00
2024-08-22 10:17:08 +00:00
2024-08-01 06:41:47 +00:00
2024-01-12 13:27:59 +02:00
2024-01-05 11:16:12 +01:00
2024-08-22 10:17:08 +00:00
2024-08-07 21:12:34 +00:00
2024-08-07 21:12:34 +00:00
2024-08-01 17:04:27 +00:00
2024-01-25 14:48:07 +01:00
2024-08-22 10:17:08 +00:00
2024-05-16 10:27:49 +10:00
2024-04-30 12:50:01 -07:00