ASACORE-869: Fix crash when memcpy a nullpointer

Change-Id: I05ba575e8cdc277d98b31ef02a6003fe24e070b8
Signed-off-by: Meggan Ehret <meggan@qeo.org>
Merge "ASACORE-869: Fix crash when memcpy a nullpointer"