[Forensics-changes] [yara] 51/407: Fix warning due to uninitialized variable
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:28:08 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 c8d9821239af1e1e0133bffc4e40a80476007051
Author: Victor Manuel Alvarez <vmalvarez at virustotal.com>
Date: Tue Sep 23 18:28:38 2014 +0200
Fix warning due to uninitialized variable
---
libyara/modules/pe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libyara/modules/pe.c b/libyara/modules/pe.c
index 7b70349..f7b54e7 100644
--- a/libyara/modules/pe.c
+++ b/libyara/modules/pe.c
@@ -198,7 +198,7 @@ int _pe_iterate_resources(
RESOURCE_CALLBACK_FUNC callback,
void* callback_data)
{
- int result;
+ int result = RESOURCE_ITERATOR_FINISHED;
int total_entries = resource_dir->NumberOfNamedEntries +
resource_dir->NumberOfIdEntries;
--
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