[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    [Aspell-user] Major Aspell 0.50.4 bug and Fix
From:       Kevin Atkinson <kevina () gnu ! org>
Date:       2003-10-07 23:18:36
Message-ID: Pine.LNX.4.44.0310071915440.1617-100000 () kevin-pc ! atkinson ! dhs ! org
[Download RAW message or body]


It is due to a bug that was introduced in Aspell 0.50.4.  Here is a patch 
to fix the problem.

--- prog/aspell.cpp.~1.25.2.11.~        2003-09-10 22:39:39.000000000 
-0400
+++ prog/aspell.cpp     2003-10-06 22:45:24.000000000 -0400
@@ -402,7 +402,7 @@
   while (last > 0 && asc_isspace(str[last])) {
     --last;
   }
-  str[last] = '\0';
+  str[last + 1] = '\0';
   return str;
 }

-- END

Since this is a major bug a new Aspell release that fixes this bug will be 
available within a week.

Sorry about that.  I didn't test Aspell enough before release.



-- 
http://kevin.atkinson.dhs.org




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic