Ticket #2309 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

Reported by: rouault Owned by: 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

Changed 4 years ago by rouault

  • cc warmerdam added
  • owner changed from warmerdam to rouault

Changed 4 years ago by rouault

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

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

Note: See TracTickets for help on using tickets.