mirror of
https://gitee.com/openharmony/sensors_sensor
synced 2025-01-31 11:01:57 +00:00
add ignore cfi check for HandleSensorData
Signed-off-by: lixiangpeng5 <lixiangpeng5@huawei.com> Change-Id: Ib66e6b7c15db4b9a78fc80fb3f960cf6efc13c4f
This commit is contained in:
parent
20668b8ccf
commit
d8c6641631
@ -59,7 +59,8 @@ std::set<const SensorUser *> SensorAgentProxy::GetSubscribeUser(int32_t sensorId
|
||||
return {iter->second};
|
||||
}
|
||||
|
||||
void SensorAgentProxy::HandleSensorData(SensorEvent *events, int32_t num, void *data)
|
||||
void SensorAgentProxy::HandleSensorData(SensorEvent *events,
|
||||
int32_t num, void *data) __attribute__((no_sanitize("cfi")))
|
||||
{
|
||||
CHKPV(events);
|
||||
if (num <= 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user