Page MenuHomePhabricator

evas_vg_load_svg: Prevent array overflow
ClosedPublic

Authored by jsuya on Jan 9 2022, 8:44 PM.

Details

Summary

sz must be less than 20 to append 'carriage return'

Test Plan

Example SVG

<?xml version="1.0" encoding="UTF-8"?>
<svg><aaaaaaaaaaaaaaaaaaaa > </aaaaaaaaaaaaaaaaaaaa></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.Jan 9 2022, 8:44 PM
jsuya requested review of this revision.Jan 9 2022, 8:44 PM
This revision is now accepted and ready to land.Jan 10 2022, 4:41 PM
This revision was automatically updated to reflect the committed changes.