summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm_evdev.c
diff options
context:
space:
mode:
authorMinJeong Kim <minjjj.kim@samsung.com>2015-04-29 08:47:32 -0400
committerChris Michael <cp.michael@samsung.com>2015-04-29 08:47:32 -0400
commit45abf35ec0167deaabb58fa38edb9d88adeaef50 (patch)
tree17a1469b33b7b37cf62aad1ee7b86ab3b2a88d7c /src/lib/ecore_drm/ecore_drm_evdev.c
parentc0c59bdb193eba278212d9b632313b32dc0ce762 (diff)
ecore-drm: Fix using uninitialized output value
Summary: This revision fixed using of uninitialized value 'output'. The usage can cause segmentation fault when it try to refer current_mode @fix Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2448
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_drm/ecore_drm_evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_evdev.c b/src/lib/ecore_drm/ecore_drm_evdev.c
index 666c900438..c99597548c 100644
--- a/src/lib/ecore_drm/ecore_drm_evdev.c
+++ b/src/lib/ecore_drm/ecore_drm_evdev.c
@@ -51,7 +51,7 @@ static void
51_device_output_set(Ecore_Drm_Evdev *edev) 51_device_output_set(Ecore_Drm_Evdev *edev)
52{ 52{
53 Ecore_Drm_Input *input; 53 Ecore_Drm_Input *input;
54 Ecore_Drm_Output *output; 54 Ecore_Drm_Output *output = NULL;
55 const char *oname; 55 const char *oname;
56 56
57 if (!edev->seat) return; 57 if (!edev->seat) return;