Changes between Initial Version and Version 3 of Ticket #132
- Timestamp:
- Nov 25, 2007, 11:00:58 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #132
- Property Cc added
- Property Component C-API → C API
- Property Priority 1 → critical
- Property Version 3.0.0 → svn-trunk
- Property Milestone imported → 3.0.0
- Property Resolution none → fixed
- Property Severity Unassigned → Significant
-
Ticket #132 – Description
initial v3 1 To be exact, it segfaults when one of the points is empty. I.e., the following code fails: 1 2 {{{ 2 To be exact, it segfaults when one of the points is empty. I.e., the following code fails:3 4 3 geom = GEOSGeomFromWKT("POINT(44 32.2)"); 5 4 geom2 = GEOSGeomFromWKT("POINT EMPTY"); 6 5 GEOSEqualsExact(geom, geom2, 0); 6 }}} 7 7 8 8 A backtrace looks like: 9 {{{ 9 10 #0 geos::geom::Geometry::equal (this=0x80f91d8, a=@0x0, b=@0x80fd6b0, tolerance=0) at Coordinate.inl:80 10 11 #1 0xb7aebe84 in geos::geom::Point::equalsExact (this=0x80f91d8, other=0x80f0fd8, tolerance=0) at Point.cpp:200 11 12 #2 0xb7ba80d3 in GEOSEqualsExact (g1=0x80f91d8, g2=0x80f0fd8, tolerance=0) at geos_c.cpp:414 12 13 }}} 13 14 System details are the same as reported in bug #126 14 }}}