From 027921f760d830806899c8c29a88ded067ee821d Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Wed, 16 May 2018 14:33:13 -0700 Subject: [PATCH] Added concern about potential DoS vector --- peer/listen/peer_listen_channel.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/peer/listen/peer_listen_channel.go b/peer/listen/peer_listen_channel.go index 56c7d61..b92c280 100644 --- a/peer/listen/peer_listen_channel.go +++ b/peer/listen/peer_listen_channel.go @@ -78,9 +78,8 @@ func (cplc *CwtchPeerListenChannel) Packet(data []byte) { if err == nil { if csp.GetGroupMessage() != nil { gm := csp.GetGroupMessage() - // We create a new profile here to avoid leaking any information about processing - // times. - // TODO Is this necessary / sufficient? + // We create a new go routine here to avoid leaking any information about processing time + // TODO Server can probably try to use this to DoS a peer go cplc.Handler.HandleGroupMessage(gm) } }