diff options
author | JunsuChoi <jsuya.choi@samsung.com> | 2022-01-12 11:19:24 +0900 |
---|---|---|
committer | Hermet Park <chuneon.park@samsung.com> | 2022-01-12 11:19:24 +0900 |
commit | 3411c604f2a7d226e288d36becb6fb5e286516db (patch) | |
tree | 5a4e3ce974bab6c390f89a51f64800afd6f7f029 /cmakeconfig | |
parent | 7a674c6a29a408c6103bcc00c3bddee295fea07e (diff) | |
download | efl-3411c604f2a7d226e288d36becb6fb5e286516db.tar.gz |
evas_vg_load_svg: Fix negative attrs length
Summary:
After finding no attributes but spaces, attrsLength could be negative.
This will cause a segfault in parser functions.
So, change the position of attrs_length to prevent this.
Test Plan:
Example SVG
```
<?xml version="1.0" encoding="UTF-8"?>
<svg><g ></g></svg>
```
Reviewers: Hermet, raster, kimcinoo
Reviewed By: Hermet
Subscribers: #reviewers, cedric, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D12314
Diffstat (limited to 'cmakeconfig')
0 files changed, 0 insertions, 0 deletions