projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf97390
)
ecore_drm: fix crash if string is null
99/88699/1
author
Duna Oh
<duna.oh@samsung.com>
Tue, 20 Sep 2016 08:52:14 +0000
(17:52 +0900)
committer
Duna Oh
<duna.oh@samsung.com>
Tue, 20 Sep 2016 08:52:14 +0000
(17:52 +0900)
Change-Id: Ief8df0e6af31592746a93c54d404adaf6d71be9d
Signed-off-by: Duna Oh <duna.oh@samsung.com>
src/lib/ecore_drm/ecore_drm_evdev.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_drm/ecore_drm_evdev.c
b/src/lib/ecore_drm/ecore_drm_evdev.c
index
b922539
..
3ef7220
100644
(file)
--- a/
src/lib/ecore_drm/ecore_drm_evdev.c
+++ b/
src/lib/ecore_drm/ecore_drm_evdev.c
@@
-733,7
+733,7
@@
_ecore_drm_evdev_device_create(Ecore_Drm_Seat *seat, struct libinput_device *dev
EINA_LIST_FOREACH(devices, l, dev)
{
name = eeze_udev_syspath_get_devname(dev);
- if (strstr(name, edev->path))
+ if (
name &&
strstr(name, edev->path))
{
eina_stringshare_replace(&edev->path, eeze_udev_syspath_get_devpath(dev));
break;