[UB] Fix yet another use of memcpy with a null pointer argument. I think
authorChandler Carruth <chandlerc@gmail.com>
Tue, 4 Aug 2015 01:00:56 +0000 (01:00 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 4 Aug 2015 01:00:56 +0000 (01:00 +0000)
commit4f2a94439aa72a3ba0b9340f1fe5b1bbff0279c3
tree621b3c688c6db47658e49da0341e3943501d41bb
parentd35480e9b119b303f63e0635563900a9dd2d9fb7
[UB] Fix yet another use of memcpy with a null pointer argument. I think
this is the last of them in my build of LLVM. Haven't tried Clang yet.

Found via UBSan.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243934 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/MemoryBuffer.cpp