Opened 13 years ago

Closed 13 years ago

#1445 closed defect (fixed)

Malformed WKB crashes parser

Reported by: strk Owned by: pramsey
Priority: blocker Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

Try this:

01060000400200000001040000400100000001010000400000000000000000000000000000000000000000000000000101000040000000000000F03F000000000000F03F000000000000F03F

Change History (3)

comment:1 by strk, 13 years ago

Note that the WKB represent a MULTIPOLYGON containing a MULTIPOINT and a POINT. It is invalid when expressed in WKT. The parser doesn't complain.

comment:2 by aperi2007, 13 years ago

I don't understand the problem. I guess a MultiPolygon with a MultiPoint is always an invalid geometry.

It should be a collection. dont't ?

comment:3 by strk, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in r8742

@aperi2007: I think it's safe for now to just refuse it.

Note: See TracTickets for help on using tickets.