mirror of
https://gitee.com/openharmony/security_security_guard
synced 2024-11-23 14:39:47 +00:00
commit
3c5a41734d
@ -247,10 +247,10 @@ int32_t DataCollectManagerStub::HandleSecurityEventQueryCmd(MessageParcel &data,
|
||||
int32_t DataCollectManagerStub::HandleConfigUpdateCmd(MessageParcel &data, MessageParcel &reply)
|
||||
{
|
||||
SGLOGI("%{public}s", __func__);
|
||||
uint64_t expected = sizeof(uint64_t);
|
||||
uint64_t actual = data.GetReadableBytes();
|
||||
uint32_t expected = sizeof(uint64_t);
|
||||
uint32_t actual = data.GetReadableBytes();
|
||||
if (expected >= actual) {
|
||||
SGLOGE("actual length error, value=%{public}llu", actual);
|
||||
SGLOGE("actual length error, value=%{public}u", actual);
|
||||
return BAD_PARAM;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user