Commit: 3f4039f43ba02418452edab7aab374e17dce6c8e
Parent: 09080c0022ba11ddf70b8b0c4f5119072017e04e
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-04-01 00:44:44
Tree: f8d97d05e9318c7a382928fc084fb2acf1dc59d9

hog-lib: Fix crash when receiving UHID_GET_REPORT If UHID_GET_REPORT is received but a report cannot be found, etc, the would pass bt_hog as user_data instead of report to get_report_cb leading to a crash. Fixes https://github.com/bluez/bluez/issues/112

Diffstat

M profiles/input/hog-lib.c | 49 ++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - -

1 files changed, 30 insertions(+), 19 deletions(-)

View Full Diff | Patch