eth4io / libkml

Automatically exported from code.google.com/p/libkml
Other
0 stars 0 forks source link

Calling KmlCache::FetchDataRelative with non existant kml file causes infinite recursion #158

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Call FetchDataRelative with valid KMZ file and non existant kml file in KMZ 
file.
m_kml_cache->FetchDataRelative(FAKE_HOST_ADDRESS, m_file_stream, &kmldata);
2.
3.

What is the expected output?
An error returned due to non-existant kml file.
What do you see instead?
Program crashes due to infinite recursion with DoFetch being called repeatedly. 
DoFetch first called within FetchDataRelative.

What version of the product are you using? On what operating system?
Windows 32 bit XP
library 1.2.0.

Did you run the unit test suite that comes with the project? Did all tests pass?
Did not run test.

Please provide any additional information below.

Original issue reported on code.google.com by bruce.fo...@gmail.com on 6 Oct 2010 at 7:58