pull up r25367 from trunk
authorTom Yu <tlyu@mit.edu>
Thu, 20 Oct 2011 19:27:32 +0000 (19:27 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 20 Oct 2011 19:27:32 +0000 (19:27 +0000)
commitb9f8106ca10c90d3402360bc96de446aa4b42eb1
tree35f8c11b561f35a0b8bcbc54190a440cfdaa4ef9
parent038d8ec86f9ec7c8ba903d02aeab94865b031b76
pull up r25367 from trunk

 ------------------------------------------------------------------------
 r25367 | ghudson | 2011-10-18 12:32:28 -0400 (Tue, 18 Oct 2011) | 12 lines

 ticket: 6980
 subject: Ensure termination in Windows vsnprintf wrapper
 target_version: 1.10
 tags: pullup

 The Windows _vsnprintf does not terminate its output buffer in the
 overflow case.  Make sure we do that in the wrapper.  Reported by
 Chris Hecker.

 (Not an issue for KfW 3.2 since we weren't using snprintf in 1.6.x
 except in Unix-specific code.)

ticket: 6980
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25386 dc483132-0cff-0310-8789-dd5450dbe970
src/include/k5-platform.h