[geos-devel] Segfault when passing malformed WKT to GEOSGeomFromWKT

Sean Gillies sgillies at frii.com
Sat Feb 18 15:33:03 EST 2006


On Feb 18, 2006, at 1:17 PM, strk at refractions.net wrote:

> On Sat, Feb 18, 2006 at 01:16:30PM -0700, Sean Gillies wrote:
>> On Feb 18, 2006, at 12:37 PM, strk at refractions.net wrote:
>>
>>> On Sat, Feb 18, 2006 at 10:47:15AM -0700, Sean Gillies wrote:
>>>> "POINT ()" sent to GEOSGeomFromWKT() results in a segfault with  
>>>> GEOS
>>>> 2.2.1. Is this a known issue? If so, what do you do in PostGIS to
>>>> guard against this?
>>>
>>> Doesn't seem a known issue, please file a bug report.
>>> No worries for PostGIS, doesn't use WKT or WKB for GEOS<->PostGIS
>>> Geometry conversion.
>>>
>>> --strk;
>>
>> There's a GEOS issue tracker? I didn't see anything on http://
>> geos.refractions.net.
>
> Oh, it's the postgis bug tracker, can be used for GEOS as well
> (there should be a GEOS project registered).
>
> --strk;

Thanks. One more question: how does GEOS represent the empty point  
set? As NULL?

Sean




More information about the geos-devel mailing list