sandia-minimega / minimega

minimega
GNU General Public License v3.0
148 stars 66 forks source link

miniccc: fix map race conditions in ron server #1461

Closed activeshadow closed 2 years ago

activeshadow commented 2 years ago

In commit dd04c33f I introduced a bug in the ron server code that handles serial cc connections -- failing to protect maps accessed concurrently with their associated mutexes -- that would randomly manifest itself into race conditions.

activeshadow commented 2 years ago

@aherna from what I can tell, this seemed to fix the issues multiple people were having with larger deployments.