Fix a OOB bug in bta_hh_co_get_rpt_rsp
Fix to the regression reported in b/264708304 and b/266585826 added: The root cause of the regression, the sensor HAL layer expects the HID feature reports to contain 40 bytes, even less bytes are contained in the data field. This updated fix restores the length of data fields with the len arg. Bug: 259675705 Test: manual verification with a Pixel 6 and LinkBuds Ignore-AOSP-First: security Tag: security Change-Id: I02f16c360965b049fc6c8fdfa0132b7aa54bc1d3
Loading