[Forensics-changes] [yara] 157/192: Handle return error in call to _yr_re_fiber_sync

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:31:59 UTC 2017


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

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

commit f7de99e7a77fb13740f1ff4e957801e5b23541a2
Author: Victor Manuel Alvarez <vmalvarez at vmalvarez-macbookpro.roam.corp.google.com>
Date:   Thu Apr 27 19:38:08 2017 +0200

    Handle return error in call to _yr_re_fiber_sync
---
 libyara/re.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libyara/re.c b/libyara/re.c
index 250ef8f..d8fa75c 100644
--- a/libyara/re.c
+++ b/libyara/re.c
@@ -1787,7 +1787,8 @@ int _yr_re_fiber_sync(
           branch_b->ip += (1 + sizeof(RE_REPEAT_ANY_ARGS));
           branch_b->rc = -1;
 
-          _yr_re_fiber_sync(fiber_list, fiber_pool, branch_b);
+          FAIL_ON_ERROR(_yr_re_fiber_sync(
+              fiber_list, fiber_pool, branch_b));
 
           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