asterisk/main/stdtime
Richard Mudgett 186db8fdaf Fix some uninitialized buffers for CDR handling valgrind found.
* Made ast_strftime_locale() ensure that the output buffer is initialized.
The std library strftime() returns 0 and does not touch the buffer if it
has an error.  However, the function can also return 0 without an error.

(closes issue ASTERISK-22412)
Reported by: rmudgett
........

Merged revisions 397902 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-08-28 23:15:43 +00:00
..
Makefile Merged revisions 157859 via svnmerge from 2008-11-20 00:08:12 +00:00
localtime.c Fix some uninitialized buffers for CDR handling valgrind found. 2013-08-28 23:15:43 +00:00
private.h Merged revisions 82285 via svnmerge from 2007-09-12 21:25:57 +00:00
test.c Kill off red blobs in most of main/* 2012-03-22 19:51:16 +00:00
tzfile.h Merged revisions 82291 via svnmerge from 2007-09-12 21:32:24 +00:00