HomePhabricator

[llvm-objcopy] [COFF] Don't call memcpy() with a null argument. NFC.

Description

[llvm-objcopy] [COFF] Don't call memcpy() with a null argument. NFC.

It is invalid to call memcpy with a null pointer, even if the size
is zero.

This should fix the sanitizer buildbot.

Details

Committed
mstorsjoDec 20 2018, 11:48 AM
Parents
rL349807: Intel has signed the relicensing agreement.
Branches
Unknown
Tags
Unknown