diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2015-05-31 03:13:31 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2015-05-31 03:13:31 +0000 |
commit | 87601bef58c4410989a1010f6ac550f84421653a (patch) | |
tree | a82cbb4c8e83ddd5938cd36f73f5a5fcb19ffb75 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 3dbd7ae0e36ddf669982c528cb21b520279ec802 (diff) | |
download | llvm-87601bef58c4410989a1010f6ac550f84421653a.zip llvm-87601bef58c4410989a1010f6ac550f84421653a.tar.gz llvm-87601bef58c4410989a1010f6ac550f84421653a.tar.bz2 |
Don't try to memcpy zero bytes; sometimes the source pointer is NULL, and that's UB. Thanks to Nuno Lopes for the catch.
llvm-svn: 238666
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions