Force nul-termination of strings after vsnprintf().
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 23 Jun 2016 13:26:58 +0000 (15:26 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 23 Jun 2016 13:26:58 +0000 (15:26 +0200)
commite16ab7b89948c24a2c47652e8eb1a817a4b1424c
tree5634efa6924bbde46208f08494a4d86e812e198c
parent2de5d866b5e4d4e6b827dcfb985c24edbda71f4f
Force nul-termination of strings after vsnprintf().

Apparently, on Windows this function might not always be properly
terminated.
src/bsd/tunemu.c
src/dropin.c
src/logger.c
src/protocol.c
src/tincctl.c