Ticket #36 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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

Changed 5 years ago by tonyfang

  • owner changed from tony fang to tonyfang
  • status changed from new to assigned

Changed 5 years ago by tonyfang

  • summary changed from really skinny symbol preview causes divide by zero error in GDRenderer to line_weight=0 results in divide by zero error in GDUtil.cpp's rs_gdImageThickLineBrush method

Changed 5 years ago by tonyfang

  • status changed from assigned to closed
  • resolution set to fixed

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.