diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2016-12-23 14:41:28 +0100 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-12-23 05:41:28 -0800 |
commit | f5cbe4c9cab2873b60cd3c991732a250d2e164a2 (patch) | |
tree | 3dfef3ef56990e19fb914821ed4e6f36c9931fd1 /src/vm/multicorejit.cpp | |
parent | 5ef3df8ffe059d5f91c6bae09d8f95a0332f1363 (diff) | |
download | coreclr-f5cbe4c9cab2873b60cd3c991732a250d2e164a2.tar.gz coreclr-f5cbe4c9cab2873b60cd3c991732a250d2e164a2.tar.bz2 coreclr-f5cbe4c9cab2873b60cd3c991732a250d2e164a2.zip |
Remove all usage of vsnprintf (#8709)
This change removes all usages of vsnprintf and modifies runtime to not to use
vsnprintf or _vsnprintf
I've also fixed two issues in PAL TRACE function string format parameters that
caused crashes when I was trying to run all PAL tests with PAL tracing enabled.
Diffstat (limited to 'src/vm/multicorejit.cpp')
-rw-r--r-- | src/vm/multicorejit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/multicorejit.cpp b/src/vm/multicorejit.cpp index 24154a81c7..7660fd1895 100644 --- a/src/vm/multicorejit.cpp +++ b/src/vm/multicorejit.cpp @@ -168,7 +168,7 @@ void _MulticoreJitTrace(const char * format, ...) int len; len = sprintf_s(buffer, _countof(buffer), "Mcj TID %04x: ", GetCurrentThreadId()); - len += _vsnprintf(buffer + len, _countof(buffer) - len, format, args); + len += _vsnprintf_s(buffer + len, _countof(buffer) - len, format, args); len += sprintf_s(buffer + len, _countof(buffer) - len, ", (time=%d ms)\r\n", GetTickCount() - s_startTick); OutputDebugStringA(buffer); |