Opened 13 years ago

Closed 13 years ago

#3935 closed defect (fixed)

GML: segfault on read failure

Reported by: strk Owned by: Even Rouault
Priority: normal Milestone: 1.8.1
Component: OGR_SF Version: 1.8.0
Severity: normal Keywords: gml
Cc:

Description

When failing to read a geometry from a GML tag, ogr segfaults. The attached patch fixes that, making the failure more silent (I might have preferred the segfault...)

Oh, the input file is the same attached to ticket #3934

Attachments (1)

gmlutils_segfault.patch (503 bytes ) - added by strk 13 years ago.

Download all attachments as: .zip

Change History (3)

by strk, 13 years ago

Attachment: gmlutils_segfault.patch added

comment:1 by Even Rouault, 13 years ago

Owner: changed from warmerdam to Even Rouault

comment:2 by Even Rouault, 13 years ago

Component: defaultOGR_SF
Keywords: gml added
Milestone: 1.8.1
Resolution: fixed
Status: newclosed
Version: svn-trunk1.8.0

Fix commited in trunk (r21599) and in branches/1.8 (r21600). Test added in r21603.

Thanks.

Note: See TracTickets for help on using tickets.