Don't try to memcpy zero bytes; sometimes the source pointer is NULL, and that's...
authorMarshall Clow <mclow.lists@gmail.com>
Sun, 31 May 2015 03:13:31 +0000 (03:13 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Sun, 31 May 2015 03:13:31 +0000 (03:13 +0000)
commit87601bef58c4410989a1010f6ac550f84421653a
treea82cbb4c8e83ddd5938cd36f73f5a5fcb19ffb75
parent3dbd7ae0e36ddf669982c528cb21b520279ec802
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
libcxx/include/memory