Opened 16 years ago

Closed 16 years ago

#2046 closed defect (fixed)

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 (1)

bigNameDescs.kml (730.4 KB ) - added by darkblueB 16 years ago.
synthetic file of placemarks with big names and descriptions

Download all attachments as: .zip

Change History (2)

by darkblueB, 16 years ago

Attachment: bigNameDescs.kml added

synthetic file of placemarks with big names and descriptions

comment:1 by warmerdam, 16 years ago

Resolution: fixed
Status: newclosed

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.