Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 383e826d authored by Hemant Gupta's avatar Hemant Gupta Committed by Myles Watson
Browse files

HID: Fix issues reported by Static Analysis Tool

- Update error checking condition in bta_hh_le_co_cache_load API
  to return if either num of report is 0 or if length of report is
  less than size of report cache structure.

- Memset the report descriptor before use to properly initialize variables
  not updated in function.

Test: builds, hid functionality works fine

Bug: 35013844
Change-Id: Ie0347307d7536f18bf8f32a2dfeda593a41933bf
parent b746f52c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment