remove unnecessary secure func and add hc-gen binary

Change-Id: I522009028ec18fc9110febff70499540d9e94a17
This commit is contained in:
yuanbo
2021-04-01 15:56:51 +08:00
parent 3eeb7beed4
commit de55f86e32
2 changed files with 1 additions and 5 deletions
+1 -5
View File
@@ -323,11 +323,7 @@ bool HdfDeviceListAdd(const char *moduleName, const char *serviceName)
if (svcName == NULL) {
break;
}
if (strcpy_s(svcName, strlen(serviceName) + 1, serviceName) != EOK) {
HDF_LOGE("%s: string copy fail", __func__);
OsalMemFree(svcName);
break;
}
strcpy(svcName, serviceName);
deviceNodeInfo->svcName = svcName;
HdfSListAdd(hostClnt->deviceInfos, &deviceNodeInfo->node);
hostClnt->devCount++;
BIN
View File
Binary file not shown.