[Forensics-changes] [yara] 02/135: Fix bug in yr_re_exec logic

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:27:26 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.1.0
in repository yara.

commit 345bf845c37a766bec49e0663027c4a5a57eddc2
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Fri Mar 7 15:45:11 2014 +0100

    Fix bug in yr_re_exec logic
---
 libyara/re.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libyara/re.c b/libyara/re.c
index 5d30375..33835ec 100644
--- a/libyara/re.c
+++ b/libyara/re.c
@@ -1501,7 +1501,7 @@ int yr_re_exec(
           assert(FALSE);
       }
 
-      if (count >= max_count && action != ACTION_CONTINUE)
+      if (count >= max_count && action == ACTION_NONE)
         action = ACTION_KILL;
 
       switch(action)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list