[Forensics-changes] [yara] 127/407: imphash returns a string.

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:17 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 a6797109a558730c2903b4ff544d8ee789d0747f
Author: Wesley Shields <wxs at atarininja.org>
Date:   Fri Oct 17 16:07:34 2014 -0400

    imphash returns a string.
---
 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 4a36aef..2f6c208 100644
--- a/libyara/modules/pe.c
+++ b/libyara/modules/pe.c
@@ -2567,7 +2567,7 @@ define_function(imphash)
   // If not a PE, return 0.
 
   if (!pe)
-    return_integer(UNDEFINED);
+    return_string(UNDEFINED);
 
   MD5_Init(&ctx);
 

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