Ticket #690 (closed defect: fixed)
Trying to make a line with a point and a linestring crashes the server
| Reported by: | robe | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
I know people shouldn't be doing this but it didn't crash the server in 1.5
SELECT ST_MakeLine(ST_GeomFromText('POINT(-11.1111111 40)'), ST_GeomFromText('LINESTRING(-11.1111111 70,70 -11.1111111)')) As result
In 1.5 you get a nice harmless warning:
ERROR: lwpoint_deserialize: attempt to deserialize a point which is really a LineString
In 2.0 your server crashes not so nicely. This is testing with the latest trunk.
Change History
Note: See
TracTickets for help on using
tickets.
