Fix dereference of NULL return issue 76/87276/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 7 Sep 2016 07:49:01 +0000 (16:49 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 7 Sep 2016 07:49:01 +0000 (16:49 +0900)
commit90f3b6aa4ec15a1ab5a2949949e795125a46fc10
tree5f5b344a31f53362e3860cf2fe2ab344a585b3ee
parentf746c950024138583d4a6bfa7b181681bd1a08bb
Fix dereference of NULL return issue

Return value of a function 'scl::CSCLKeyFocusHandler::get_instance' is dereferenced at sclresourcecache.cpp:990 without checking, but it is usually checked for this function (4/5).

Change-Id: I8d2f0cf375262c0102a80aa1f86b4c12630cf2e7
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
scl/include/sclui.h
scl/sclresourcecache.cpp