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
Loading
Please register or sign in to comment