[Forensics-changes] [yara] 186/407: Fix bug in "imports" function of PE module

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:24 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 7bf0c83ee7885f24beeec8afef3b23c093b8f13b
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Mon Nov 3 10:54:00 2014 +0100

    Fix bug in "imports" function of PE module
---
 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 6e3399e..c8b4906 100644
--- a/libyara/modules/pe.c
+++ b/libyara/modules/pe.c
@@ -1375,7 +1375,7 @@ define_function(imports)
         if (strcasecmp(imported_func->name, function_name) == 0)
           return_integer(1);
 
-        imported_dll = imported_dll->next;
+        imported_func = imported_func->next;
       }
     }
     imported_dll = imported_dll->next;

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