[Forensics-changes] [yara] 292/368: Fix warning while compiling for 32-bits

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:30:49 UTC 2017


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

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

commit 2f4142d2c957a09e5d8d000361929a0fd5e37bc7
Author: plusvic <plusvic at gmail.com>
Date:   Wed Jun 1 11:55:33 2016 +0200

    Fix warning while compiling for 32-bits
---
 libyara/arena.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libyara/arena.c b/libyara/arena.c
index cc9fe6a..ecaf2f6 100644
--- a/libyara/arena.c
+++ b/libyara/arena.c
@@ -1043,7 +1043,7 @@ int yr_arena_save_stream(
     reloc = reloc->next;
   }
 
-  assert(page->size < 0x100000000);  // 4GB
+  assert(page->size < 0x80000000);  // 2GB
 
   header.magic[0] = 'Y';
   header.magic[1] = 'A';

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