Page MenuHomePhabricator

efl_ui_win: Fix dereference null return
ClosedPublic

Authored by devilhorns on Mar 14 2019, 10:13 AM.

Details

Summary

Coverity reports that efl_data_scope_safe_get returns NULL here
(checked 273 out of 285 times). Add an EINA_SAFETY check before trying
to use 'sd'.

Fixes Coverity CID1399426

@fix

Depends on D8347

Diff Detail

Repository
rEFL core/efl
Branch
devs/devilhorns/coverity
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 10322
devilhorns created this revision.Mar 14 2019, 10:13 AM
cedric accepted this revision.Mar 14 2019, 3:34 PM
This revision is now accepted and ready to land.Mar 14 2019, 3:34 PM
devilhorns updated this revision to Diff 20613.Mar 15 2019, 5:54 AM
devilhorns edited the summary of this revision. (Show Details)

rebase

devilhorns closed this revision.Mar 15 2019, 5:57 AM