Page MenuHomePhabricator

elm_box: Fix a potential null pointer dereferencing
ClosedPublic

Authored by akanad on Oct 10 2017, 7:49 PM.

Details

Summary

if 'evas_object_smart_data_get' return null somehow,
logic that dereference the smart data pointer will cause problems.
This patch prevent a potential bug in advance.

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
akanad created this revision.Oct 10 2017, 7:49 PM
cedric accepted this revision.Oct 13 2017, 12:03 PM
This revision is now accepted and ready to land.Oct 13 2017, 12:03 PM
Closed by commit rEFLc60b889d3518: elmentary: fix a potential null pointer dereferencing in elm_box (authored by WhiskyKiloSq, committed by Cedric Bail <cedric@osg.samsung.com>). · Explain WhyOct 13 2017, 1:06 PM
This revision was automatically updated to reflect the committed changes.