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

Skip to content
Commit 7d28b14f authored by Sumit Deshmukh's avatar Sumit Deshmukh
Browse files

HID [ASan]: Fix for heap buffer overflow issue.

Reproducibility: 100% (with ASan enabled)

Use Case: Unpair HID device.

Issue: Fatal issue with reason "heap-buffer-overflow"

Root cause:
Number of arguments supplied did not match with format
specifiers which could lead to unpredicted behavior.

Fix:
Provide equal number of arguments to mentioned format
specifiers.

Test: Tested by unpairing HID device and issue is not
      reproducible when ASan is enabled.

Fixes: 145188301

Change-Id: I158a4b07dc03d18f83256cdef187033bfdee4b96
parent 0be2268e
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