[Forensics-changes] [yara] 314/415: Fix bug regular expressions engine

Hilko Bengen bengen at moszumanska.debian.org
Thu Apr 3 05:43:18 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 ff095708f6782106929cb87f24a5b154abb38e33
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Wed Dec 18 14:29:14 2013 +0100

    Fix bug regular expressions engine
---
 libyara/re.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libyara/re.c b/libyara/re.c
index f6e69b9..ae589f4 100644
--- a/libyara/re.c
+++ b/libyara/re.c
@@ -1,4 +1,4 @@
-/*
+    /*
 Copyright (c) 2013. Victor M. Alvarez [plusvic at gmail.com].
 
 Licensed under the Apache License, Version 2.0 (the "License");
@@ -1009,7 +1009,7 @@ RE_FIBER* _yr_re_fiber_split(
   new_fiber->sp = fiber->sp;
   new_fiber->ip = fiber->ip;
 
-  for (i = 0; i < fiber->sp; i++)
+  for (i = 0; i <= fiber->sp; i++)
     new_fiber->stack[i] = fiber->stack[i];
 
   new_fiber->next = fiber->next;

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