[Forensics-changes] [yara] 300/368: Fix use of uninitialized variable

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


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

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

commit eaa02b91103cc10f829caf1daada974bfa0a9867
Author: plusvic <plusvic at gmail.com>
Date:   Fri Jun 3 14:32:53 2016 +0200

    Fix use of uninitialized variable
---
 libyara/compiler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libyara/compiler.c b/libyara/compiler.c
index e20e200..7b9f333 100644
--- a/libyara/compiler.c
+++ b/libyara/compiler.c
@@ -383,7 +383,7 @@ int _yr_compiler_compile_rules(
   YR_COMPILER* compiler)
 {
   YARA_RULES_FILE_HEADER* rules_file_header = NULL;
-  YR_ARENA* arena;
+  YR_ARENA* arena = NULL;
   YR_RULE null_rule;
   YR_EXTERNAL_VARIABLE null_external;
 

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