Blame SOURCES/aspell-0.60.6-zero.patch

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