Page MenuHomePhabricator

fix segfault when there is no text in clipboard
ClosedPublic

Authored by vtorri on Mar 24 2020, 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.Mar 24 2020, 7:13 AM
vtorri requested review of this revision.Mar 24 2020, 7:13 AM
zmike requested changes to this revision.Mar 24 2020, 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.Mar 24 2020, 7:24 AM

in wayland too i think

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

Only cocoa exhibits the same issue.

This revision was automatically updated to reflect the committed changes.