projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
364274d
)
Prevention of NULL pointer dereference at EventHandler
76/71776/1
author
Seoyeon Kim
<seoyeon2.kim@samsung.com>
Fri, 27 May 2016 05:39:39 +0000
(14:39 +0900)
committer
Seoyeon Kim
<seoyeon2.kim@samsung.com>
Fri, 27 May 2016 05:41:42 +0000
(14:41 +0900)
Change-Id: Ic5149f3b71da300add2922ad916d2b4b1ecb8094
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
adaptors/wayland/event-handler-wl.cpp
patch
|
blob
|
history
diff --git
a/adaptors/wayland/event-handler-wl.cpp
b/adaptors/wayland/event-handler-wl.cpp
index
07c0909
..
636de86
100644
(file)
--- a/
adaptors/wayland/event-handler-wl.cpp
+++ b/
adaptors/wayland/event-handler-wl.cpp
@@
-123,7
+123,10
@@
EventHandler::EventHandler( RenderSurface* surface, CoreEventInterface& coreEven
mImpl = new Impl(this );
- waylandSurface->AssignWindowEventInterface( mImpl );
+ if( waylandSurface )
+ {
+ waylandSurface->AssignWindowEventInterface( mImpl );
+ }
}
EventHandler::~EventHandler()