Closed Bug 793612 Opened 12 years ago Closed 12 years ago

nsSVGArcConverter is not robust against zero-sized arc segments

Categories

(Core :: SVG, defect)

defect
Not set
normal

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+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: