Ticket #169 (defect)
Opened 5 months ago
Last modified 5 months ago
Rtree segfaults with unbounded item entry
Status: closed (fixed)
| Reported by: | seang | Assigned to: | seang |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Rtree | Version: | |
| Keywords: | Cc: | ||
Via Eduardo Rocha:
import rtree
a = rtree.Rtree() a.add(0,1)
Index: _rtreemodule.cc =================================================================== --- _rtreemodule.cc (revision 3164) +++ _rtreemodule.cc (working copy) @@ -123,6 +123,9 @@
return NULL;
bounds = PySequence_Fast(binput, "Bounds must be a sequence"); + if(bounds == NULL) + return NULL; + size = (int) PySequence_Fast_GET_SIZE(bounds); if (size == 2)
Change History
08/22/08 14:50:13: Modified by seang
- status changed from new to closed.
- resolution set to fixed.

Fixed in r1135.