Ticket #2309 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

In DEBUG mode, SHPWriteOGRFeature may crash when dealing with unhandled field types

Reported by: rouault Assigned to: rouault
Priority: normal Milestone: 1.5.2
Component: OGR_SF Version: unspecified
Severity: normal Keywords: shape
Cc: warmerdam

Description

The CPLAssert(FALSE) should be removed, because it's unnecessary and causes crashes in DEBUG mode. A CPLError( CE_Failure, CPLE_NotSupported, ...) is already emited in CreateField?.

Change History

04/02/08 16:55:43 changed by rouault

  • owner changed from warmerdam to rouault.
  • cc set to warmerdam.

04/02/08 16:59:20 changed by rouault

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

Fixed in trunk in r14177 and in branches/1.5 in r14178