Ticket #2046 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

KML input with enough big Names and Descriptions throws an uncaught exception

Reported by: darkblueB Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords: kml
Cc:

Description

long <name> and/or <description> tags in a KML file will fail upon being read in std::string + otherwise known as append(), is where it dies

the exception is uncaught, so the app aborts

observed with ogr2ogr, but not ogrinfo so far..

Attachments

bigNameDescs.kml Download (0.7 MB) - added by darkblueB 5 years ago.
synthetic file of placemarks with big names and descriptions

Change History

Changed 5 years ago by darkblueB

synthetic file of placemarks with big names and descriptions

Changed 5 years ago by warmerdam

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

There were a couple of issues with the code in KMLNode::getNameElement(). (loop counter mixups). It's hard to imagine this ever worked! Fixed in trunk as r13222.

Note: See TracTickets for help on using tickets.