Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

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.)

https://github.com/krb5/krb5/commit/ddea50b5a7e04a28e2a15b2989125ccc4532ccf6
Commit By: ghudson
Revision: 25367
Changed Files:
U trunk/src/include/k5-platform.h
From: tlyu@mit.edu
Subject: SVN Commit

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.)

https://github.com/krb5/krb5/commit/b9f8106ca10c90d3402360bc96de446aa4b42eb1
Commit By: tlyu
Revision: 25386
Changed Files:
U branches/krb5-1-10/src/include/k5-platform.h