[Forensics-changes] [yara] 188/407: Fix bug introduced in previous commit

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 f678d4bda9f3c2207acc4857536bcad3b40888e8
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Mon Nov 3 18:10:29 2014 +0100

    Fix bug introduced in previous commit
---
 libyara/modules/pe.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libyara/modules/pe.c b/libyara/modules/pe.c
index 006798d..0f13caf 100644
--- a/libyara/modules/pe.c
+++ b/libyara/modules/pe.c
@@ -819,8 +819,8 @@ void pe_parse_certificates(
     // Some sanity checks
 
     if (win_cert->Length == 0 ||
-        (win_cert->CertificateType != WIN_CERT_REVISION_1_0 &&
-         win_cert->CertificateType != WIN_CERT_REVISION_2_0))
+        (win_cert->Revision != WIN_CERT_REVISION_1_0 &&
+         win_cert->Revision != WIN_CERT_REVISION_2_0))
     {
       break;
     }

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