[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:21558] Bug#JP/1175: grep-ja Segmentation fault with --ignore-case



Package: grep-ja
Version: 2.3-1

jgrep と jegrep が --ignore-caseオプションを付けると Segmentation fault で
落ちます。

--- dfa.c.orig  Mon Dec 20 23:48:07 1999
+++ dfa.c       Sat Mar 25 11:29:04 2000
@@ -2305,7 +2305,7 @@
        dfaparse(s, len, d);
       //      dfaparse(s, len, d);
       dfaanalyze(d, searchflag);
-      free(copy);
+      free(lcopy);
     }
   else
     {

--
Yasuhiro Uchida / 内田恭広 <uchida@xxxxxxxxxxxx>