ecore_con: Fix dereferencing of null pointer
authorChristopher Michael <cp.michael@samsung.com>
Thu, 14 Mar 2019 11:22:54 +0000 (07:22 -0400)
committerYeongjong Lee <yj34.lee@samsung.com>
Tue, 2 Apr 2019 03:45:17 +0000 (12:45 +0900)
commit3f1bfc4ee085fc7aa7221ebb5954408f85ef3ff6
tree6971503444740d1b5e601c445a2fbe371aeda5e7
parentb2cdcd300e6fee614ef4360255d4af5806594a4c
ecore_con: Fix dereferencing of null pointer

Summary:
Coverity reports that 'svr' might be NULL here, so we should check it
is valid before trying to use it.

Fixes Coverity CID1396990

@fix

Depends on D8320

Reviewers: raster, cedric, q66, zmike, bu5hm4n, stefan

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8321
src/lib/ecore_con/ecore_con_legacy.c