Opened 14 years ago

Last modified 11 years ago

#26 closed defect (not a bug)

Segfault in GEOSGeomFromWKT with bad WKT — at Version 2

Reported by: sgillies@… Owned by:
Priority: blocker Milestone:
Component: C-API Version: 2.2.1
Severity: Critical Keywords: imported, phpbugtracker
Cc: mloskot

Description (last modified by mloskot)

'POINT ()' and 'POINT (1, 1)'

each cause a segmentation fault in GEOSGeomFromWKT(). Probably should return NULL.

Change History (2)

comment:1 Changed 14 years ago by sgillies@…

Resolution: nonenot a bug
Not a bug. Problem was that I'd set error handlers to NULL in initGEOS.

comment:2 Changed 12 years ago by mloskot

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