MapServer / MapServer-import

3 stars 2 forks source link

segfault if fontset references inexistant font paths/files #2192

Closed tbonfort closed 12 years ago

tbonfort commented 12 years ago

Reporter: tbonfort Date: 2007/08/01 - 17:29 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

tbonfort commented 12 years ago

Date: 2011/04/19 - 12:31 this is fixed now, not sure since when.