[Forensics-changes] [yara] 363/415: Fix bug introduced in d5358cd39fb29f94cc7e205a7e97497c460502f9
Hilko Bengen
bengen at moszumanska.debian.org
Thu Apr 3 05:43:24 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 bc075630a00ea070b496d1c3fede00cfb822bc98
Author: Victor Manuel Alvarez <vmalvarez at virustotal.com>
Date: Thu Jan 16 12:58:06 2014 +0100
Fix bug introduced in d5358cd39fb29f94cc7e205a7e97497c460502f9
---
libyara/rules.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libyara/rules.c b/libyara/rules.c
index f802198..5d58689 100644
--- a/libyara/rules.c
+++ b/libyara/rules.c
@@ -266,7 +266,7 @@ int _yr_scan_fast_hex_re_exec(
{
assert(sp < MAX_FAST_HEX_RE_STACK);
- if (sp < MAX_FAST_HEX_RE_STACK)
+ if (sp >= MAX_FAST_HEX_RE_STACK)
return -2;
code_stack[sp] = ip + 11;
--
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