[Forensics-changes] [yara] 140/415: Fix issue 60

Hilko Bengen bengen at moszumanska.debian.org
Thu Apr 3 05:42:56 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 fa619d2672c640d37bb8b980fdc191fd7a7ad239
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Tue Aug 14 16:54:31 2012 +0000

    Fix issue 60
---
 libyara/grammar.c | 2 ++
 libyara/grammar.y | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/libyara/grammar.c b/libyara/grammar.c
index bafd647..c7a19e9 100644
--- a/libyara/grammar.c
+++ b/libyara/grammar.c
@@ -2780,6 +2780,8 @@ int reduce_rule_declaration(    yyscan_t yyscanner,
     }
     
     context->current_rule_flags = 0;  
+    context->current_rule_strings = NULL;
+
     return context->last_result;
 }
 
diff --git a/libyara/grammar.y b/libyara/grammar.y
index d94210a..2401974 100644
--- a/libyara/grammar.y
+++ b/libyara/grammar.y
@@ -750,6 +750,8 @@ int reduce_rule_declaration(    yyscan_t yyscanner,
     }
     
     context->current_rule_flags = 0;  
+    context->current_rule_strings = NULL;
+
     return context->last_result;
 }
 

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