Page MenuHomePhabricator

evas_vg_load_svg: Prevent array overflow
ClosedPublic

Authored by jsuya on Sun, Jan 9, 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.Sun, Jan 9, 8:44 PM
jsuya requested review of this revision.Sun, Jan 9, 8:44 PM
This revision is now accepted and ready to land.Mon, Jan 10, 4:41 PM
This revision was automatically updated to reflect the committed changes.