PR#331: for Visual Studio, use a snprintf/vsnprintf wrapper that ensures the string is terminated.

This commit is contained in:
Eric Haszlakiewicz
2017-08-25 01:15:39 -04:00
parent 256ebcd827
commit 81f6edbfd5
6 changed files with 41 additions and 18 deletions

View File

@@ -7,6 +7,7 @@
#include "config.h"
#include "json.h"
#include "json_tokener.h"
#include "snprintf_compat.h"
#ifdef HAVE_LOCALE_H
#include <locale.h>