Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2008 06:55:42 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdio vfwprintf.c
Message-ID:  <200808040656.m746u26m094276@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
cperciva    2008-08-04 06:55:42 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/stdio       vfwprintf.c 
  Log:
  SVN rev 181281 on 2008-08-04 06:55:42Z by cperciva
  
  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
  
  Revision  Changes    Path
  1.33      +3 -1      src/lib/libc/stdio/vfwprintf.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808040656.m746u26m094276>