Page MenuHomePhabricator

evas_vg_load_svg: Add check that stroke-dasharray is "none"
ClosedPublic

Authored by jsuya on Mon, Jan 10, 8:42 PM.

Details

Summary

"none" is the default value of dasharray and can actually be used.
Currently using "none" causes a segfault. This patch prevents it.

Test Plan

SVG image

<svg viewBox="0 0 30 10" xmlns="http://www.w3.org/2000/svg">
  <line x1="0" y1="3" x2="30" y2="3" stroke="black" stroke-dasharray="none" />
</svg>

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.
jsuya created this revision.Mon, Jan 10, 8:42 PM
jsuya requested review of this revision.Mon, Jan 10, 8:42 PM
Hermet accepted this revision.Tue, Jan 11, 6:33 PM
This revision is now accepted and ready to land.Tue, Jan 11, 6:33 PM
This revision was automatically updated to reflect the committed changes.