aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-02-19 14:55:32 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-02-19 14:55:32 +0000
commit7c24d8e70b8a00b72878a78b8ac490f26ef237de (patch)
tree8fb2eb22e59ec65f48f794b28d9bfcb3fecc5f0f /clang/lib/Frontend/CompilerInvocation.cpp
parente6c32e6293adaff31d8fb436858459e53764332a (diff)
downloadllvm-7c24d8e70b8a00b72878a78b8ac490f26ef237de.zip
llvm-7c24d8e70b8a00b72878a78b8ac490f26ef237de.tar.gz
llvm-7c24d8e70b8a00b72878a78b8ac490f26ef237de.tar.bz2
Initialize all the fields of struct tm before passing it to strftime. One of the uninitialized fields, probably the pointer field tm_zone, was causing a segfault on linux. Patch contributed by Jeffrey Yasskin.
llvm-svn: 150929
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions