[pkg-fgfs-crew] Bug#750859: Bug#750859: flightgear: Crashes on some scenery objects: strutils.cxx:65:utf8ToLatin1: wrong char value

Rebecca N. Palmer r.palmer at bham.ac.uk
Mon Jun 9 08:42:59 UTC 2014


Control: tags -1 upstream

Also present in upstream 3.1.

It is due to utf8ToLatin1 being passed an already-Latin-1 string 
"Zweibrücken" (poi.dat.gz is UTF-8 but apt.dat.gz is Latin-1); this is 
not valid UTF-8, and as you note, this function doesn't catch invalid 
input, so runs past the end of the string and crashes.

I'll try to fix this later.



More information about the pkg-fgfs-crew mailing list