Ticket #3935 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

GML: segfault on read failure

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

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

Change History

Changed 2 years ago by strk

Changed 2 years ago by rouault

  • owner changed from warmerdam to rouault

Changed 2 years ago by rouault

  • status changed from new to closed
  • component changed from default to OGR_SF
  • version changed from svn-trunk to 1.8.0
  • milestone set to 1.8.1
  • keywords gml added
  • resolution set to fixed

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

Thanks.

Note: See TracTickets for help on using tickets.