Commit graph

8 commits

Author SHA1 Message Date
Simon McVittie
ff7ff32b0e Ensure that mbstowcs does not overflow its buffer
Similar to one of the changes by Tim Angus in fd986da: mbstowcs' third
argument is the number of wchar_t available in dest, not the number
of bytes.

This does not appear to be exploitable, because ioquake3 does
not actually call mumble_set_identity() or mumble_set_description()
anywhere, but it might be relevant to derivatives.

Spotted via compiler warnings.
2015-01-07 23:37:11 +00:00
Zack Middleton
7de09c3490 Include stdint.h instead of inttypes.h in libmumblelink.c
MSVC 2010 has stdint.h but not inttypes.h.
Debian (GCC, MinGW) and OS X (Clang) can compile using stdint.h.
2014-12-28 15:08:02 -06:00
Tim Angus
fd986dae06 * Fix various warnings with GCC and clang 2011-10-27 21:32:28 +00:00
Thilo Schulz
48b03a035b Ok, getifaddrs() is not POSIX compliant. Fix #3984 as suggested by Vincent Cojot 2011-02-07 05:20:31 +00:00
Ludwig Nussel
9b1a3387cb fix mumble coordinate transmission 2010-01-06 13:47:38 +00:00
Ludwig Nussel
4abf1aa398 mmap could fail, handle gracefully 2010-01-04 16:02:01 +00:00
Ludwig Nussel
f19d437564 update mumble link interface for version 1.2 2010-01-04 14:12:18 +00:00
Ludwig Nussel
0ee3960225 mumble link support
The coordinate calculation was adopted from Warsow's mumble patch.
2008-05-30 17:19:31 +00:00