Page MenuHomePhabricator

evas: Add null check logic on evas_object_smart_attach
ClosedPublic

Authored by akanad on Feb 21 2018, 9:00 PM.

Details

Summary

this commit add null check logic on evas_object_smart_attach
because a segmentation fault occurs once the argument is not valid (eg. null).

Test Plan
  1. invoke evas_object_smart_add(obj, NULL)
  2. see the application crashes

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 requested review of this revision.Feb 21 2018, 9:00 PM
akanad created this revision.
cedric accepted this revision.Mar 6 2018, 5:32 PM
This revision is now accepted and ready to land.Mar 6 2018, 5:32 PM
Closed by commit rEFL59c0246eeafa: evas: add null check logic on evas_object_smart_attach (authored by WhiskyKiloSq, committed by Cedric Bail <cedric@osg.samsung.com>). · Explain WhyMar 6 2018, 7:06 PM
This revision was automatically updated to reflect the committed changes.