-
-
Notifications
You must be signed in to change notification settings - Fork 405
Labelling lines with zero lengths may cause the application to crash #6493
Copy link
Copy link
Closed
Description
To reproduce this a LINE layer should be configured with TRANSFORM FALSE and the shapefile should contain a line with zero length (all points are at the same location).
The crash location is at:
mapserver!msLineLabelPoint+0x209 [mapprimitive.c @ 1717]
mapserver!msPolylineLabelPoint+0x141 [mapprimitive.c @ 1648]
mapserver!lineLayerDrawShape+0x41c [mapdraw.c @ 1854]
mapserver!msDrawShape+0x80d [mapdraw.c @ 2169]
mapserver!msDrawVectorLayer+0x7be [mapdraw.c @ 1164]
mapserver!msDrawLayer+0x3a3 [mapdraw.c @ 813]
mapserver!msDrawMap+0x415 [mapdraw.c @ 403]
mapscript!CSharp_mapObj_draw+0xd
Note: Not all of the data providers support returning such invalid geometries, the shapefile driver does.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels