aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-05-11 21:20:20 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-05-11 21:20:20 +0000
commitd92350878221f10923fe1572ba5192b67a19c8de (patch)
tree7713fcc6301992a2b47b7496fc780d11261e54dc /clang/lib/Frontend/CompilerInvocation.cpp
parent225262562f803997496b394e3b69714cc9ac7dd8 (diff)
downloadllvm-d92350878221f10923fe1572ba5192b67a19c8de.zip
llvm-d92350878221f10923fe1572ba5192b67a19c8de.tar.gz
llvm-d92350878221f10923fe1572ba5192b67a19c8de.tar.bz2
Fix input validation issues in llvm-as/llvm-dis
Summary: 1. llvm-as/llvm-dis tools do not check for input filename length. 2. llvm-dis does not verify the `Streamer` variable against `nullptr` properly, so the `M` variable could be uninitialized (e.g. if the input file does not exist) leading to null dref. Patch by Lenar Safin! Reviewers: samsonov Reviewed By: samsonov Subscribers: samsonov, llvm-commits Differential Revision: http://reviews.llvm.org/D9584 llvm-svn: 237051
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions