qaisjp/go-ircevent

Users map read/write is racy

Closed this issue · 0 comments

llmII commented

https://github.com/qaisjp/go-ircevent/blob/e71f5fec2a8d3b9976a19b5e03e66aebd7168ff6/irc_nicktrack.go

The Users map could be read to and written to simultaneously if there are a bunch of simultaneous nick changes leading to a crash in external code relying on the map to determine things.

See the partial crash log at:
qaisjp/go-discord-irc#72