Ticket #2177 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

Changed 4 years ago by warmerdam

  • status changed from new to closed
  • resolution set to fixed

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.