Opened 17 years ago

Closed 13 years ago

#2192 closed defect (fixed)

segfault if fontset references inexistant font paths/files

Reported by: tbonfort Owned by: sdlime
Priority: normal Milestone:
Component: MapServer CGI Version:
Severity: normal Keywords:
Cc:

Description

in function msPolylineLabelPath in mapprimitive.c there's a call to msGetLabelSizeEx which return -1 on error instead of MS_FAILURE.

this means that the offsets aren't initialized causing a segfault a few lines later

Change History (1)

comment:1 by tbonfort, 13 years ago

Resolution: fixed
Status: newclosed

this is fixed now, not sure since when.

Note: See TracTickets for help on using tickets.