!616 add ignore for cfi check

Merge pull request !616 from 17349030869/master
This commit is contained in:
openharmony_ci 2024-08-07 11:58:19 +00:00 committed by Gitee
commit c5dfbd638d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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) {