Rantanen / node-mumble

Mumble client in Node.js
MIT License
155 stars 48 forks source link

Stack overflow in `_waitForPrefix` #60

Open Rantanen opened 9 years ago

Rantanen commented 9 years ago

The MumbleConnection._waitForPrefix has an infinite recursion. This has a chance of overflowing the stack if the process stays up for a long time as each TCP control message (and even UDP tunnel message?) puts around 4-5 method calls on the stack.