Opened 12 years ago

Last modified 9 years ago

#27 closed defect (not a bug)

Segfault in GEOSGeomFromWKB_buf with bad WKB

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

Description (last modified by mloskot)

Invalid binary data (with correct length) causes a segmentation fault in GEOSGeomFromWKB_buf. Should return NULL.

Change History (6)

comment:1 Changed 12 years ago by sgillies@…

Resolution: nonenot a bug
Not a bug. The problem was that I'd set the message handlers in initGEOS to NULL.

comment:2 Changed 10 years ago by mloskot

Cc: mloskot added
Description: modified (diff)

comment:3 Changed 10 years ago by mloskot

Milestone: imported2.2.1

comment:4 Changed 10 years ago by mloskot

Milestone: 2.2.12.2.2

comment:5 Changed 10 years ago by mloskot

Priority: 3major
Severity: UnassignedCritical

comment:6 Changed 9 years ago by (none)

Milestone: 2.2.2

Milestone 2.2.2 deleted

Note: See TracTickets for help on using tickets.