[Forensics-changes] [yara] 39/407: Fix uninitialized variable warning

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:06 UTC 2017


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

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

commit 86ec8c7206b7251f95961a56ed5567e37051bbf8
Author: Victor Manuel Alvarez <vmalvarez at virustotal.com>
Date:   Wed Sep 17 11:02:35 2014 +0200

    Fix uninitialized variable warning
---
 libyara/exec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libyara/exec.c b/libyara/exec.c
index c1bfbfd..fa7a90c 100644
--- a/libyara/exec.c
+++ b/libyara/exec.c
@@ -490,6 +490,7 @@ int yr_execute_code(
         pop(r2);
 
         function = UINT64_TO_PTR(YR_OBJECT_FUNCTION*, r2);
+        result = ERROR_INTERNAL_FATAL_ERROR;
 
         for (i = 0; i < MAX_OVERLOADED_FUNCTIONS; i++)
         {

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