Opened 12 years ago

Closed 12 years ago

#2177 closed defect (fixed)

Shapelib errors should not be fatal!

Reported by: warmerdam Owned by: warmerdam
Priority: high Milestone: 1.5.1
Component: OGR_SF Version: 1.5.0
Severity: normal Keywords: shape


In gdal/ogr/ogrsf_frmts/shape/shp_vsi.c this hook should *not* be issuing a CE_Fatal error, just CE_Failure. CE_Fatal triggers an abort() and program termination.

void VSI_SHP_Error( const char *message )

    CPLError( CE_Fatal, CPLE_AppDefined, "%s", message );

Change History (1)

comment:1 Changed 12 years ago by warmerdam

Resolution: fixed
Status: newclosed

Fixed in trunk (r13609) and 1.5 branch (r13610). The problem was introduced in 1.5 so no need to go back further.

Note: See TracTickets for help on using tickets.