Commit: eeaa5a1afb181fe0595c7395f3316d683fce86aa
Parent: 1721258a7d95b8f294d8875ff030eca9b24a2e60
Author: Szymon Janc <szymon.janc@codecoup.pl>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2016-04-02 10:47:35
Tree: 8942fe0722fafb050c7a580c4bddd755d4671c7d

input/hog: Fix crash if uhid is not enabled If /dev/uhid is not present bt_hog_new_default() returns NULL. This was resulting in NULL pointer dereference in attio_connected_cb.

Diffstat

M profiles/input/hog.c | 10 +++++++++-

1 files changed, 9 insertions(+), 1 deletions(-)

View Full Diff | Patch