[Forensics-changes] [yara] 262/415: Fix regression issues
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 b393a55aa1117f3092904452693eb80437d75105
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Thu Nov 28 19:04:31 2013 +0100
Fix regression issues
---
libyara/re.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libyara/re.c b/libyara/re.c
index 8e87329..5596c0f 100644
--- a/libyara/re.c
+++ b/libyara/re.c
@@ -1202,11 +1202,12 @@ int yr_re_exec(
case RE_OPCODE_MATCH:
match = FALSE;
- result = i;
if (flags & RE_FLAGS_END_ANCHORED && i < input_size)
break;
+ result = i;
+
if (flags & RE_FLAGS_EXHAUSTIVE)
{
if (flags & RE_FLAGS_BACKWARDS)
@@ -1219,7 +1220,7 @@ int yr_re_exec(
// As we are forcing a jump out of the loop fiber_idx
// won't be incremented. Let's do it before exiting.
- //fiber_idx++;
+ fiber_idx++;
goto _exit_loop;
}
--
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