Page MenuHomePhabricator

efl_canvas: fix a potentional error of null deref
ClosedPublic

Authored by akanad on Aug 4 2020, 4:19 AM.

Details

Summary

this is a patch to fix a potentional error by null dereferencing.

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.Aug 4 2020, 4:19 AM
akanad requested review of this revision.Aug 4 2020, 4:19 AM
akanad updated this revision to Diff 30963.Aug 4 2020, 4:37 AM
  • modify commit
akanad updated this revision to Diff 30965.Aug 4 2020, 4:42 AM
akanad edited the summary of this revision. (Show Details)
  • modify phab summary
bu5hm4n requested changes to this revision.Aug 4 2020, 5:35 AM
bu5hm4n added a subscriber: bu5hm4n.

I think this is also a case for a eina_safety_on_null_return, as this should simply never happen.

This revision now requires changes to proceed.Aug 4 2020, 5:35 AM
akanad updated this revision to Diff 30985.Aug 4 2020, 9:21 PM
  • modify to use defined macro
akanad updated this revision to Diff 30996.Aug 4 2020, 11:35 PM
  • rebase
bu5hm4n accepted this revision.Aug 5 2020, 12:14 AM

thx.

This revision is now accepted and ready to land.Aug 5 2020, 12:14 AM
Closed by commit rEFLe4651d8fe551: efl_canvas: fix a potentional error of null deref (authored by WhiskyKiloSq, committed by Marcel Hollerbach <mail@marcel-hollerbach.de>). · Explain WhyAug 5 2020, 1:48 AM
This revision was automatically updated to reflect the committed changes.