efl/src/static_libs/vg_common
junsu choi 7b4c9284a9 vg_common_svg: Fix when the number of polygon points is odd
Summary: If the number of points is odd, an overflow occurs in array[i+1].

Test Plan:
Test Svg image
```
<svg xmlns="http://www.w3.org/2000/svg" id="svg1" viewBox="0 0 200 200">
    <title>Not enough points</title>
    <desc>Must contain at least 4 points</desc>

    <polygon id="polygon1" points="20 40 160 40 10" fill="none" stroke="red"/>

    <!-- image frame -->
    <rect id="frame" x="1" y="1" width="198" height="198" fill="none" stroke="black"/>
</svg>
```

Reviewers: Hermet, raster, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12319
2022-01-12 11:35:31 +09:00
..
meson.build evas vector: support json loader for rlottie integration. 2019-06-21 17:35:48 +09:00
vg_common.h vg_load_svg: Implement ClipPath feature 2020-10-14 19:16:53 +09:00
vg_common_json.c Efl.Gfx.Vg.Value_Provider: Move internal function changed_flag to eo. 2020-06-01 13:21:04 +09:00
vg_common_svg.c vg_common_svg: Fix when the number of polygon points is odd 2022-01-12 11:35:31 +09:00