HomePhabricator

eldbus: Fix dereference after null check

Authored by devilhorns on Mar 15 2019, 9:14 AM.

Description

eldbus: Fix dereference after null check

Summary:
Coverity reports we are passing NULL variable 'properties' to
eina_array_pop here which dereferences it. Wrap the 'end' block in an
if which checks for valid 'properties' variable

Fixes Coverity CID1399422

@fix

Depends on D8350

Reviewers: raster, cedric, zmike, bu5hm4n, stefan_schmidt

Reviewed By: cedric

Subscribers: reviewers, committers

Tags: efl

Differential Revision: https://phab.enlightenment.org/D8351

Details

Committed
devilhornsMar 15 2019, 9:14 AM
Reviewer
cedric
Differential Revision
D8351: eldbus: Fix dereference after null check
Parents
rEFL12f0dc4fdd46: efl_ui_text: Fix resource leak
Branches
Unknown
Tags
Unknown