[Forensics-changes] [yara] 368/415: Reduce RE_SCAN_LIMIT to a more reasonable value

Hilko Bengen bengen at moszumanska.debian.org
Thu Apr 3 05:43:25 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 0ffedd4cc3e32c0d26ed0ebc31ec188e88dcfaba
Author: Victor Manuel Alvarez <vmalvarez at virustotal.com>
Date:   Fri Jan 17 12:48:38 2014 +0100

    Reduce RE_SCAN_LIMIT to a more reasonable value
---
 libyara/re.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libyara/re.c b/libyara/re.c
index 611c546..c8efc68 100644
--- a/libyara/re.c
+++ b/libyara/re.c
@@ -44,7 +44,7 @@ order to avoid confusion with operating system threads.
 
 #define MAX_RE_STACK    1024
 
-#define RE_SCAN_LIMIT   65535
+#define RE_SCAN_LIMIT   4096
 
 #define EMIT_FLAGS_BACKWARDS           1
 #define EMIT_FLAGS_DONT_ANNOTATE_RE    2

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