mirror of
https://github.com/openharmony/drivers_framework.git
synced 2026-07-19 16:24:45 -04:00
remove unnecessary secure func and add hc-gen binary
Change-Id: I522009028ec18fc9110febff70499540d9e94a17
This commit is contained in:
@@ -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++;
|
||||
|
||||
Executable
BIN
Binary file not shown.
Reference in New Issue
Block a user