[Forensics-changes] [yara] 34/135: Fix bug caused by missing flags initialisation while splitting a regular expression

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:27:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.1.0
in repository yara.

commit 1d65669513873b122dceda6444bcbdd21930a8b9
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Tue Jul 1 11:52:34 2014 +0200

    Fix bug caused by missing flags initialisation while splitting a regular expression
---
 libyara/re.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libyara/re.c b/libyara/re.c
index b7f2180..581dbaa 100644
--- a/libyara/re.c
+++ b/libyara/re.c
@@ -449,6 +449,7 @@ int yr_re_split_at_chaining_point(
         return result;
 
       (*remainder_re)->root_node = child->left;
+      (*remainder_re)->flags = re->flags;
 
       child->left = NULL;
 

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