Opened 12 years ago

Closed 12 years ago

#2309 closed defect (fixed)

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

Reported by: Even Rouault Owned by: Even 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 (2)

comment:1 Changed 12 years ago by Even Rouault

Cc: warmerdam added
Owner: changed from warmerdam to Even Rouault

comment:2 Changed 12 years ago by Even Rouault

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.