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

2014-06-10 Thread Rebecca N. Palmer
Control: tags -1 patch This fixes it in upstream (3.1); I haven't tested it in 3.0 yet. diff --git a/simgear/misc/strutils.cxx b/simgear/misc/strutils.cxx index 2548027..bc56100 100644 --- a/simgear/misc/strutils.cxx +++ b/simgear/misc/strutils.cxx @@ -53,8 +53,11 @@ namespace simgear {

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

2014-06-09 Thread Rebecca N. Palmer
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