[Heimdal-source-changes] [heimdal/heimdal] 0acef7: roken: fix append_string "%.s" non-nul termination
GitHub
noreply at github.com
Ons May 20 16:30:02 CEST 2015
Branch: refs/heads/master
Home: https://github.com/heimdal/heimdal
Commit: 0acef7729f664cfe591ff86964651bb0bbf5d6b0
https://github.com/heimdal/heimdal/commit/0acef7729f664cfe591ff86964651bb0bbf5d6b0
Author: Jeffrey Altman <jaltman at secure-endpoints.com>
Date: 2015-05-20 (Wed, 20 May 2015)
Changed paths:
M lib/roken/snprintf.c
Log Message:
-----------
roken: fix append_string "%.s" non-nul termination
It should be possible to pass a format string of "%.s" to permit
a non-nul terminated string to be used as input. The test of remaining
precision and the test for NUL needs to be reversed to permit this
behavior to function correctly.
Change-Id: I200f9c2886419dc4c3870f5f44bc10e81245f56c
More information about the Heimdal-source-changes
mailing list