Ticket #1445 (closed defect: fixed)

Opened 17 months ago

Last modified 17 months ago

Malformed WKB crashes parser

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

Description

Try this:

01060000400200000001040000400100000001010000400000000000000000000000000000000000000000000000000101000040000000000000F03F000000000000F03F000000000000F03F

Change History

Changed 17 months ago by strk

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.

Changed 17 months ago by aperi2007

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 ?

Changed 17 months ago by strk

  • status changed from new to closed
  • resolution set to fixed

Fixed in r8742

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

Note: See TracTickets for help on using tickets.