Ticket #3665 (closed defect: fixed)
crash on corrupt shape file
| Reported by: | jef | Owned by: | rouault |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.7.3 |
| Component: | OGR_SF | Version: | 1.7.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
OGR crashes on an corrupt shape file when a filter is applied (see also [ #2837]):
ogrinfo -spat -24000.593000 40999.080078 -22399.520000 41250.060120 pen_01.shp pen_01
INFO: Open of `pen_01.shp'
using driver `ESRI Shapefile' successful.
Layer name: pen_01
Geometry: Line String
ERROR 1: Corrupted .shp file : shape 3 : panPartStart[4] = 10, panPartStart[3] = 229
Segmentation fault (core dumped)
The attached patch fixes it.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

