[Forensics-changes] [yara] 297/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 7825d19c9d3c1325501be693b08fa61c94194e2a
Author: plusvic <plusvic at gmail.com>
Date: Fri Jun 3 12:19:59 2016 +0200
Fix use of uninitialized variable
---
libyara/parser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libyara/parser.c b/libyara/parser.c
index 7b849c2..04afde8 100644
--- a/libyara/parser.c
+++ b/libyara/parser.c
@@ -102,7 +102,7 @@ int yr_parser_emit_with_arg_reloc(
uint8_t** instruction_address,
int64_t** argument_address)
{
- int64_t* ptr;
+ int64_t* ptr = NULL;
int result = yr_arena_write_data(
yyget_extra(yyscanner)->code_arena,
--
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