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:
c0c59bd
)
ecore-drm: Fix using uninitialized output value
author
MinJeong Kim
<minjjj.kim@samsung.com>
Wed, 29 Apr 2015 12:47:32 +0000
(08:47 -0400)
committer
Chris Michael
<cp.michael@samsung.com>
Wed, 29 Apr 2015 12:47:32 +0000
(08:47 -0400)
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
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 666c900438bf4c30712c7158c651b4cb0508a7c6..c99597548c03322328f2c326ac0bcb285b5a5091 100644
(file)
--- a/
src/lib/ecore_drm/ecore_drm_evdev.c
+++ b/
src/lib/ecore_drm/ecore_drm_evdev.c
@@
-51,7
+51,7
@@
static void
_device_output_set(Ecore_Drm_Evdev *edev)
{
Ecore_Drm_Input *input;
- Ecore_Drm_Output *output;
+ Ecore_Drm_Output *output
= NULL
;
const char *oname;
if (!edev->seat) return;