diff --git a/host/src/app.c b/host/src/app.c index 615c2dab..263e44c6 100644 --- a/host/src/app.c +++ b/host/src/app.c @@ -581,7 +581,8 @@ static bool newKVMFRData(KVMFRUserData * dst) }; const uint8_t * uuid = os_getUUID(); - memcpy(vmInfo.uuid, uuid, 16); + if (uuid) + memcpy(vmInfo.uuid, uuid, 16); strncpy(vmInfo.capture, app.iface->getName(), sizeof(vmInfo.capture) - 1);