[Forensics-changes] [yara] 228/415: Fix issue with signed-unsigned comparison

Hilko Bengen bengen at moszumanska.debian.org
Thu Apr 3 05:43:09 UTC 2014


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

bengen pushed a commit to branch debian
in repository yara.

commit 8279afe997ac591eaae2c0ddeadd0a2abbfab273
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Mon Nov 18 17:42:13 2013 +0000

    Fix issue with signed-unsigned comparison
---
 libyara/yara.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libyara/yara.h b/libyara/yara.h
index ee976ea..1afb520 100644
--- a/libyara/yara.h
+++ b/libyara/yara.h
@@ -301,8 +301,8 @@ typedef struct _ARENA
 
 typedef struct _MATCH
 {
-  size_t          first_offset;
-  size_t          last_offset;
+  int64_t         first_offset;
+  int64_t         last_offset;
   uint8_t*        data;
   uint32_t        length;
 

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