Hi,

On Tue, 3 Jul 2007 00:12:09 +0200
Moritz Muehlenhoff <[EMAIL PROTECTED]> wrote:
> If someone is able to read Japanese, please look into Bug 429174
> for mecab and provide the necessary information what this issue
> is all about in the bug log.

 I've checked an upstream mailing list.
 
 It would be a patch for buffer overflow. 
 http://lists.sourceforge.jp/mailman/archives/mecab-users/2007-March/000257.html
 
@@ -235,6 +235,11 @@
     const char *begin3 = begin2 + mblen;
     const char *group_begin3 = 0;

+    if (begin3 > end) {
+      ADDUNKNWON;
+      return resultNode;
+    }
+
     if (cinfo.group) {
       const char *tmp = begin3;
       CharInfo fail;


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to