Commit d57e772
committed
http: turn pdu_processor's g_last_async_id into an atomic<uint32_t>
cov-scan misidentified what g_async_lock protects. Try to nudge it.
CID 1596017: (#1 of 1): Data race condition (MISSING_LOCK)
CID 1596019: (#1 of 1): Data race condition (MISSING_LOCK)
2. missing_lock: Accessing g_bigendian without holding lock
g_async_lock. Elsewhere, g_bigendian is written to with g_async_lock
held 1 out of 1 times (1 of these accesses strongly imply that it is
necessary).
CID 1596018: (#1 of 1): Data race condition (MISSING_LOCK)
1. missing_lock: Accessing g_connection_num without holding lock
g_async_lock. Elsewhere, g_connection_num is written to with
g_async_lock held 1 out of 1 times.1 parent f9f0577 commit d57e772
1 file changed
+18
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | | - | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
120 | | - | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
193 | 195 | | |
194 | 196 | | |
195 | 197 | | |
196 | | - | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
1477 | 1478 | | |
1478 | 1479 | | |
1479 | 1480 | | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
1480 | 1493 | | |
1481 | 1494 | | |
1482 | | - | |
1483 | 1495 | | |
1484 | 1496 | | |
1485 | 1497 | | |
| |||
1514 | 1526 | | |
1515 | 1527 | | |
1516 | 1528 | | |
1517 | | - | |
1518 | | - | |
1519 | | - | |
1520 | | - | |
1521 | | - | |
1522 | 1529 | | |
| 1530 | + | |
| 1531 | + | |
1523 | 1532 | | |
1524 | 1533 | | |
1525 | 1534 | | |
| |||
0 commit comments