wireguard-go data race in Peer.SendBuffer()

Ben Burkert ben at benburkert.com
Wed Nov 27 18:47:29 CET 2019

Thanks, unfortunately I'm getting a build error now. Looks like the
patch needs to switch "sync.Lock" to "sync.Mutex". I'm testing this
change and haven't hit any race conditions yet, I'll let you know if I
see any more issues.

On Wed, Nov 27, 2019 at 4:40 AM Jason A. Donenfeld <Jason at zx2c4.com> wrote:
> Thanks for the report. Does this fix it for you?
> https://git.zx2c4.com/wireguard-go/commit/?id=cd26ba8ee4a523437aba3b489422127f1293a16f

More information about the WireGuard mailing list