mirror of
https://github.com/openharmony/appexecfwk_standard.git
synced 2026-07-21 01:15:30 -04:00
syscap 解析支持syscap字段为空
Signed-off-by: lnlan <lanleinan@163.com> Change-Id: I7a5e7bd2b5478e087d96082b45ffce0dd00f3ca0 Signed-off-by: lnlan <lanleinan3@huawei.com>
This commit is contained in:
@@ -137,7 +137,7 @@ int32_t RPCIDStreamDecodeToBuffer(
|
||||
return ERROR;
|
||||
}
|
||||
|
||||
if (sysCapLength == 0 || (sysCapLength % SINGLE_FEAT_LENGTH) != 0) {
|
||||
if ((sysCapLength % SINGLE_FEAT_LENGTH) != 0) {
|
||||
HILOG_ERROR(LOG_CORE, "format error:sysCapLength is invalid\n");
|
||||
return ERROR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user