projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eda9c8
)
evdev: check a null list
author
JengHyun Kang
<jhyuni.kang@samsung.com>
Tue, 5 Sep 2017 12:54:07 +0000
(21:54 +0900)
committer
JengHyun Kang
<jhyuni.kang@samsung.com>
Tue, 24 Oct 2017 07:04:33 +0000
(16:04 +0900)
Change-Id: Ic281e4ff5f266bff9638f204964cc2503c7d90c8
src/evdev.c
patch
|
blob
|
history
diff --git
a/src/evdev.c
b/src/evdev.c
index 186e59f1c36d364b4533fdf4e2b78c1dfcf0eb03..74e37855b133e5c721dc6c9a3152ab56e7f277dc 100644
(file)
--- a/
src/evdev.c
+++ b/
src/evdev.c
@@
-3808,6
+3808,7
@@
evdev_device_set_aux_data(struct evdev_device *device, uint32_t code)
struct mt_aux_data *aux_data, *aux_data_tmp;
dispatch = fallback_dispatch(device->dispatch);
+ if (!dispatch->mt.aux_data_list) return;
if (!list_empty(&dispatch->mt.aux_data_list[0])) {
list_for_each(aux_data, &dispatch->mt.aux_data_list[0], link) {