[Forensics-changes] [yara] 166/192: Fix assignment to uninitialized pointer (#652)

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:32:00 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 a34da940bc076484fbc6401db0137550feb14821
Author: Nate Rosenblum <flander at gmail.com>
Date:   Sat May 6 11:38:09 2017 -0700

    Fix assignment to uninitialized pointer (#652)
    
    One of these things is not like the others...
    
    Refs #650
---
 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 a431a6c..f5b74b3 100644
--- a/libyara/modules/dotnet.c
+++ b/libyara/modules/dotnet.c
@@ -1132,7 +1132,7 @@ void dotnet_parse_tilde_2(
               pe->object, "assembly_refs[%i].version.minor", i);
           set_integer(assemblyref_table->BuildNumber,
               pe->object, "assembly_refs[%i].version.build_number", i);
-          set_integer(assembly_table->RevisionNumber,
+          set_integer(assemblyref_table->RevisionNumber,
               pe->object, "assembly_refs[%i].version.revision_number", i);
 
           blob_offset = pe->data + metadata_root + streams->blob->Offset;

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