bug-grep
[Top][All Lists]
Advanced

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

bug#19252: [PATCH] dfa: matching at next position or infinit loop in mat


From: Norihiro Tanaka
Subject: bug#19252: [PATCH] dfa: matching at next position or infinit loop in matching mode
Date: Tue, 02 Dec 2014 23:25:18 +0900

After failed to match in matching mode, dfa transits initial state
when not allow newline or next state when allow new line instead of
return NULL.

That will cause next matching at position or infinit loop.  By the
way, theere is no affair for grep in order that it always uses not
matching mode but searching mode.

First patch fixes the bug, and second patch simplifies around the code.

Attachment: 0001-dfa-matching-at-next-position-or-infinit-loop-in-mat.patch
Description: Text document

Attachment: 0002-dfa-implification-of-dfaexec.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]