Opened 12 years ago

Last modified 12 years ago

#4069 new defect

Invalid Inline features crash MapServer

Reported by: aboudreault Owned by: sdlime
Priority: normal Milestone: 6.2 release
Component: MapServer C Library Version: unspecified
Severity: normal Keywords:
Cc:

Description (last modified by aboudreault)

With the following mapserver layer definition, which contains an invalid inline feature.. mapserver crashes:

LAYER
   NAME poly
   TYPE POLYGON
   STATUS default
   FEATURE
   POINTS
   -1200000 -512631 2072800 1840000
   -100000 -512631 2072800 1840000
    -1200000 -512631
   END
		END

		CLASS # No outline
			OUTLINECOLOR 0 255 0
			COLOR 0 255 0
		END
	END

END

MapServer should valid those features and return an error. To reproduce the bug, here is a url:

http://mapserver-dev/cgi-bin/mapserv-trunk.cgi?map=/tmp/inline.map&layers=&mode=map&map_imagetype=png&mapext=236109.5864659+49736.7556374+1557613.3458659+1371240.5150374&imgext=236109.5864659+49736.7556374+1557613.3458659+1371240.5150374&map_size=400+400&imgx=200&imgy=200&imgxy=400+400

Change History (1)

comment:1 by aboudreault, 12 years ago

Description: modified (diff)
Milestone: 6.2 release
Note: See TracTickets for help on using tickets.