[Forensics-changes] [yara] 83/415: Fix bug in string count operator evaluation (i.e: #string)
Hilko Bengen
bengen at moszumanska.debian.org
Thu Apr 3 05:42:48 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 93dc5aeabce400f9606f41dd0ac3e3ad7a1a5d33
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Fri Mar 18 12:04:51 2011 +0000
Fix bug in string count operator evaluation (i.e: #string)
---
libyara/eval.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libyara/eval.c b/libyara/eval.c
index 3e20fa6..719897e 100644
--- a/libyara/eval.c
+++ b/libyara/eval.c
@@ -231,7 +231,7 @@ long long evaluate(TERM* term, EVALUATION_CONTEXT* context)
match = string->matches_head;
- while (match->next != NULL && i < index)
+ while (match != NULL && i < index)
{
match = match->next;
i++;
--
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