Page MenuHomePhabricator

fix segfault when there is no text in clipboard
ClosedPublic

Authored by vtorri on Tue, Mar 24, 7:13 AM.

Details

Test Plan

cnp a clipboard content without text

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.
vtorri created this revision.Tue, Mar 24, 7:13 AM
vtorri requested review of this revision.Tue, Mar 24, 7:13 AM
zmike requested changes to this revision.Tue, Mar 24, 7:24 AM
zmike added inline comments.
src/modules/ecore_evas/engines/win32/ecore_evas_win32.c
1301

Seems like this leaks data?

This revision now requires changes to proceed.Tue, Mar 24, 7:24 AM

in wayland too i think

vtorri updated this revision to Diff 29649.Tue, Mar 24, 7:45 AM
  • fix leak
vtorri marked an inline comment as done.Tue, Mar 24, 7:46 AM
zmike accepted this revision.Thu, Mar 26, 7:34 AM
This revision is now accepted and ready to land.Thu, Mar 26, 7:34 AM
zmike added a comment.Thu, Mar 26, 7:46 AM

Only cocoa exhibits the same issue.

This revision was automatically updated to reflect the committed changes.