[Forensics-changes] [yara] 403/407: Replace CreateFile with CreateFileA (issue #205)

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:49 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 0173d3a925f0c23d36d1912066a2d4d9cfc10ffa
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Tue Feb 10 12:00:57 2015 +0100

    Replace CreateFile with CreateFileA (issue #205)
---
 libyara/filemap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libyara/filemap.c b/libyara/filemap.c
index c5f7bae..178ea4a 100755
--- a/libyara/filemap.c
+++ b/libyara/filemap.c
@@ -96,7 +96,7 @@ YR_API int yr_filemap_map_ex(
   if (offset >> 20 << 20 != offset)
     return ERROR_INVALID_ARGUMENT;
 
-  pmapped_file->file = CreateFile(
+  pmapped_file->file = CreateFileA(
       file_path,
       GENERIC_READ,
       FILE_SHARE_READ,

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