Skip to content
Permalink
Browse files

Merge PR #3326: Fix error when handling TCP tunneled UDP voice packets

  • Loading branch information...
mkrautz committed Jan 29, 2018
2 parents 16810dd + c8ed9f9 commit aa90739bfd019a5f1f34e9f2d172a477ed8da4df
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/murmur/Server.cpp
@@ -1456,8 +1456,8 @@ void Server::message(unsigned int uiType, const QByteArray &qbaMsg, ServerUser *
}

if (uiType == MessageHandler::UDPTunnel) {
int l = qbaMsg.size();
if (l < 2)
int len = qbaMsg.size();
if (len < 2)
return;

QReadLocker rl(&qrwlVoiceThread);
@@ -1481,7 +1481,7 @@ void Server::message(unsigned int uiType, const QByteArray &qbaMsg, ServerUser *
}

if (ok) {
processMsg(u, buffer, 1);
processMsg(u, buffer, len);
}
}

0 comments on commit aa90739

Please sign in to comment.
You can’t perform that action at this time.