Opened 16 years ago

Closed 16 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
Cc:

Description

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 by warmerdam, 16 years ago

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.