diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-04-29 17:28:38 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-04-29 17:28:38 +0000 |
commit | a93e77c1c711ce19199e404d8e61e649384bd711 (patch) | |
tree | f2296baf2fe9804268827d5f48999eaa37c9f7b3 /llvm/lib/Support/FileCheck.cpp | |
parent | 250eae24528d1f10299a8cb35591e5b3899cefec (diff) | |
download | llvm-a93e77c1c711ce19199e404d8e61e649384bd711.zip llvm-a93e77c1c711ce19199e404d8e61e649384bd711.tar.gz llvm-a93e77c1c711ce19199e404d8e61e649384bd711.tar.bz2 |
Fix a stack-smasher in PlatformMacOSX::GetSDKDirectory()
GetSDKVersion expects the number of version fields not their byte size
and will happily overwrite later contents of the stack.
Differential Revision: https://reviews.llvm.org/D61218
llvm-svn: 359471
Diffstat (limited to 'llvm/lib/Support/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions