b29c49
diff -up aspell-0.60.6/common/convert.cpp.zero aspell-0.60.6/common/convert.cpp
b29c49
--- aspell-0.60.6/common/convert.cpp.zero	2007-12-03 07:55:45.000000000 +0100
b29c49
+++ aspell-0.60.6/common/convert.cpp	2008-09-01 12:04:39.000000000 +0200
b29c49
@@ -813,6 +813,7 @@ namespace acommon {
b29c49
   {
b29c49
     ToUniLookup lookup;
b29c49
     void decode(const char * in, int size, FilterCharVector & out) const {
b29c49
+      if (size == 0) return; // if size == 0 then while loop cause SIGSEGV
b29c49
       const char * stop = in + size; // this is OK even if size == -1
b29c49
       while (*in && in != stop) {
b29c49
         out.append(from_utf8(in, stop));