Opened 12 years ago

Closed 12 years ago

#36 closed defect (fixed)

line_weight=0 results in divide by zero error in GDUtil.cpp's rs_gdImageThickLineBrush method

Reported by: tonyfang Owned by: tonyfang
Priority: medium Milestone: 1.2
Component: General Version: 1.2.0
Severity: major Keywords:
Cc: External ID: 852938

Description

A really skinny symbol preview causes a divide by zero error in GDRenderer.cpp.

Change History (3)

comment:1 Changed 12 years ago by tonyfang

Owner: changed from tony fang to tonyfang
Status: newassigned

comment:2 Changed 12 years ago by tonyfang

Summary: really skinny symbol preview causes divide by zero error in GDRendererline_weight=0 results in divide by zero error in GDUtil.cpp's rs_gdImageThickLineBrush method

comment:3 Changed 12 years ago by tonyfang

Resolution: fixed
Status: assignedclosed

Make sure the calls to rs_gdImageThickLineBrush in GDRenderer.cpp do not use a line_weight=0.

Fixed by submission http://trac.osgeo.org/mapguide/changeset/1477 Fixed by submission http://trac.osgeo.org/mapguide/changeset/1478

Note: See TracTickets for help on using tickets.