mirror of
https://gitee.com/openharmony/sensors_sensor
synced 2024-12-04 20:58:50 +00:00
!616 add ignore for cfi check
Merge pull request !616 from 17349030869/master
This commit is contained in:
commit
c5dfbd638d
@ -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…
Reference in New Issue
Block a user