[Forensics-changes] [yara] 266/415: Fix issue #96
Hilko Bengen
bengen at moszumanska.debian.org
Thu Apr 3 05:43:13 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 478c0076fd27f848a0cc26d184ff1d16d336fe1a
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Fri Nov 29 20:32:27 2013 +0100
Fix issue #96
---
libyara/grammar.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libyara/grammar.c b/libyara/grammar.c
index 4317125..4cb54b3 100644
--- a/libyara/grammar.c
+++ b/libyara/grammar.c
@@ -3228,6 +3228,9 @@ TERM* reduce_string_enumeration( yyscan_t yyscanner,
YARA_CONTEXT* context = yyget_extra(yyscanner);
TERM_STRING* term = (TERM_STRING*) string_identifier;
+ while (term->next != NULL)
+ term = term->next;
+
term->next = (TERM_STRING*) string_list_head;
term->string->flags |= STRING_FLAGS_REFERENCED;
--
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