Index: modules/speller/default/affix.cpp =================================================================== RCS file: /cvsroot/aspell/aspell/modules/speller/default/affix.cpp,v retrieving revision 1.49.2.1 diff -u -r1.49.2.1 affix.cpp --- modules/speller/default/affix.cpp 17 Jan 2006 14:02:23 -0000 1.49.2.1 +++ modules/speller/default/affix.cpp 21 Jan 2006 14:24:38 -0000 @@ -1066,7 +1066,7 @@ unsigned tmpl; // length of tmpword WordEntry wordinfo; // hash entry of root word or NULL byte * cp; - VARARRAYM(char, tmpword, word.size()+1, MAXWORDLEN+1); + VARARRAYM(char, tmpword, word.size()+stripl+1, MAXWORDLEN+1); // on entry prefix is 0 length or already matches the beginning of the word. // So if the remaining root word has positive length @@ -1213,7 +1213,7 @@ int cond; // condition beng examined WordEntry wordinfo; // hash entry pointer byte * cp; - VARARRAYM(char, tmpword, word.size()+1, MAXWORDLEN+1); + VARARRAYM(char, tmpword, word.size()+stripl+1, MAXWORDLEN+1); PfxEntry* ep = (PfxEntry *) ppfx; // if this suffix is being cross checked with a prefix