[Forensics-changes] [yara] 03/135: Fix warning about uninitialized variable
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:27:26 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 372ce649d49c86029ca1ff89e6d3e934e679f540
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Fri Mar 7 16:12:28 2014 +0100
Fix warning about uninitialized variable
---
libyara/exefiles.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libyara/exefiles.c b/libyara/exefiles.c
index fc0e1b0..576eccb 100644
--- a/libyara/exefiles.c
+++ b/libyara/exefiles.c
@@ -92,6 +92,7 @@ uint64_t yr_pe_rva_to_offset(
section = IMAGE_FIRST_SECTION(pe_header);
section_rva = 0;
+ section_offset = 0;
while(i < MIN(pe_header->FileHeader.NumberOfSections, 60))
{
--
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