[Forensics-changes] [yara] 136/192: Use the counter of actual constants that were added, not the ones that were attempted to be processed. (#628)

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:31:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.6.0
in repository yara.

commit ca91d34eea9b71a059ccc3aa136293a18ba18268
Author: Wesley Shields <wxs at atarininja.org>
Date:   Sun Apr 2 16:39:56 2017 -0400

    Use the counter of actual constants that were added, not the ones that were attempted to be processed. (#628)
---
 libyara/modules/dotnet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libyara/modules/dotnet.c b/libyara/modules/dotnet.c
index 6fbc74c..a050d5a 100644
--- a/libyara/modules/dotnet.c
+++ b/libyara/modules/dotnet.c
@@ -607,7 +607,7 @@ void dotnet_parse_tilde_2(
               blob_result.length,
               pe->object,
               "constants[%i]",
-              i);
+              counter);
 
           counter++;
           row_ptr += row_size;

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