msvc: Add snprintf/vsnprintf replacements
authorHenrik Gramner <henrik@gramner.com>
Mon, 11 Apr 2016 14:59:46 +0000 (16:59 +0200)
committerHenrik Gramner <henrik@gramner.com>
Mon, 11 Apr 2016 14:59:46 +0000 (16:59 +0200)
commit215afdbd8ecc924f2028f79851458076683e97ad
tree0892504b348f6ecddbed50dddff1745d8303bd1a
parent5be32efc244d96aa56be462664b5c56d7318e86d
msvc: Add snprintf/vsnprintf replacements

MSVC pre-VS2015 has broken snprintf/vsnprintf implementations which are
incompatible with C99 and may lead to buffer overflows.
common/osdep.c
common/osdep.h