diff --git a/channels/urbdrc/client/urbdrc_main.c b/channels/urbdrc/client/urbdrc_main.c index 6f383ecb7..6a6dd7502 100644 --- a/channels/urbdrc/client/urbdrc_main.c +++ b/channels/urbdrc/client/urbdrc_main.c @@ -114,7 +114,7 @@ static int func_container_id_generate(IUDEVICE* pdev, char* strContainerId) static int func_instance_id_generate(IUDEVICE* pdev, char* strInstanceId, size_t len) { - char instanceId[17]; + char instanceId[17] = { 0 }; sprintf_s(instanceId, sizeof(instanceId), "\\%s", pdev->getPath(pdev)); /* format */ sprintf_s(strInstanceId, len,