Files
kernel_xiaomi_raphael/net/bluetooth
Mark Salyzyn e9cf97c9cd ANDROID: Bluetooth: hidp: buffer overflow in hidp_process_report
The buffer length is unsigned at all layers, but gets cast to int and
checked in hidp_process_report and can lead to a buffer overflow.
Switch len parameter to unsigned int to resolve issue.

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Fixes: 678af93e46ac10318b54f2f0c9abbdfe75c4e078 ("HID: Bluetooth: hidp: make sure input buffers are big enough")
Bug: 65853588
Change-Id: I779ce783ae7c3bce8c5a66c0954ef31347e42cfc
Git-repo: https://android.googlesource.com/kernel/msm
Git-commit: 34c56d552bffcaefa84975bea0e55fb4481964fd
Signed-off-by: Dennis Cagle <dcagle@codeaurora.org>
2018-07-10 17:21:07 -07:00
..
2017-07-25 12:31:37 -07:00
2015-07-30 13:31:59 +02:00
2017-12-18 21:11:22 +05:30
2015-07-30 13:31:59 +02:00
2017-09-01 22:49:47 +02:00