[Forensics-changes] [yara] 235/415: Fix bug caused by namespace flag not being reset

Hilko Bengen bengen at moszumanska.debian.org
Thu Apr 3 05:43:09 UTC 2014


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

bengen pushed a commit to branch debian
in repository yara.

commit 704eb617a325c1b68c4d1fe81cfa8935f0fcc2ab
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Thu Nov 21 13:15:19 2013 +0000

    Fix bug caused by namespace flag not being reset
---
 libyara/rules.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libyara/rules.c b/libyara/rules.c
index f21d8a6..e642de3 100644
--- a/libyara/rules.c
+++ b/libyara/rules.c
@@ -757,6 +757,7 @@ void _yr_rules_clean_matches(
   while (!RULE_IS_NULL(rule))
   {
     rule->t_flags[tidx] &= ~RULE_TFLAGS_MATCH;
+    rule->ns->t_flags[tidx] &= ~NAMESPACE_TFLAGS_UNSATISFIED_GLOBAL;
     string = rule->strings;
 
     while (!STRING_IS_NULL(string))

-- 
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