]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Initialize "nconv" to a reasonable value in all code paths. Prior to
authorColin Percival <cperciva@FreeBSD.org>
Mon, 4 Aug 2008 06:55:42 +0000 (06:55 +0000)
committerColin Percival <cperciva@FreeBSD.org>
Mon, 4 Aug 2008 06:55:42 +0000 (06:55 +0000)
commit22d725b5d7a6bd84cb0e7062858250ae4436cd12
tree6d9671173aa0f159d0b755b7bf8934d08f2687ab
parentcb8330d03640ba3511e15adf39d23d2eaf25dae7
Initialize "nconv" to a reasonable value in all code paths.  Prior to
this commit, sprintf("%s", "") could fail depending on what happened
to be on the stack.

Found by: LLVM/Clang Static Checker
lib/libc/stdio/vfwprintf.c