Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#1735 closed defect (fixed)

FP exception in mapgd.c + FIX

Reported by: tom.vijlbrief@… Owned by: dmorissette
Priority: high Milestone:
Component: WMS Server Version: 4.8
Severity: normal Keywords:
Cc: bartvde@…

Description

When running the itasca demo on Tru64 a floating point division by zero
occurs at line 1659 and mapserv terminates.

Fix: test for 0:

  case(MS_SYMBOL_PIXMAP):

    // tomv
    if (symbol->sizey)
      d = size/symbol->sizey; /* compute the scaling factor (d) on the unrotated
 symbol */
    else
      d = 1;

Change History (5)

comment:1 by dmorissette, 18 years ago

Cc: mapserver-bugs@… added
Owner: changed from mapserverbugs to dmorissette
Checking this now.

comment:2 by dmorissette, 18 years ago

Cc: steve.lime@… added
Status: newassigned
There are 3 instances of this assignment in mapgd.c, fixing all three. 

comment:3 by dmorissette, 18 years ago

Resolution: fixed
Status: assignedclosed
Fixed in CVS, in both 4.9 and 4.8.4

comment:4 by bartvde@…, 18 years ago

Cc: bartvde@… added

comment:5 by bartvde@…, 18 years ago

*** Bug 1776 has been marked as a duplicate of this bug. ***
Note: See TracTickets for help on using tickets.