1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-06-15 07:00:20 +02:00
aerc/lib/marker
Moritz Poldrack 9ad1e1e1ac lib/marker: fix crash caused by concurrent map access
lib/marker makes extensive uses of maps, but does not guard against
concurrent accesses. Add two mutexes to ensure read and write access do
not happen simultaneously.

Changelog-fixed: Fixed an unguarded concurrent map access leading
 to crashes.
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Tested-by: Terrance <srht@terrance.allofti.me>
2025-02-24 20:48:04 +01:00
..
marker.go lib/marker: fix crash caused by concurrent map access 2025-02-24 20:48:04 +01:00
marker_test.go treewide: replace uint32 uids with opaque strings 2024-08-28 12:06:01 +02:00