Closed Bug 793612 Opened 7 years ago Closed 7 years ago

nsSVGArcConverter is not robust against zero-sized arc segments

Categories

(Core :: SVG, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: heycam, Assigned: heycam)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Current code won't call nsSVGArcConverter if we have a zero-sized arc segment (where the start and endpoints are the same).  But it is easy to handle this, so let's do so in case it is used for such segments.
Attachment #663953 - Flags: review?(longsonr)
Assignee: nobody → cam
Status: NEW → ASSIGNED
Comment on attachment 663953 [details] [diff] [review]
patch

Can you add a test of some kind?
Attachment #663953 - Flags: review?(longsonr) → review+
https://hg.mozilla.org/mozilla-central/rev/6a18b979c82c
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.