summaryrefslogtreecommitdiff
path: root/src/cmumble.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmumble.c')
-rw-r--r--src/cmumble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmumble.c b/src/cmumble.c
index 3d060ce..33ba9d4 100644
--- a/src/cmumble.c
+++ b/src/cmumble.c
@@ -47,7 +47,7 @@ recv_udp_tunnel(MumbleProto__UDPTunnel *tunnel, struct context *ctx)
frame_len = data[pos] & 0x7F;
terminator = data[pos] & 0x80;
pos += 1;
-
+
if (frame_len == 0 || frame_len > len-pos)
break;