[Forensics-changes] [yara] 90/368: Make the stacksize default a #define in yara.c
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:30:14 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 bd3bb500927ce3d50f8f409654cb4816f203a225
Author: Coleman Kane <ckane at colemankane.org>
Date: Fri Oct 9 20:07:43 2015 -0400
Make the stacksize default a #define in yara.c
---
yara.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/yara.c b/yara.c
index 9bf48a9..855f65c 100644
--- a/yara.c
+++ b/yara.c
@@ -89,6 +89,8 @@ typedef struct _QUEUED_FILE {
#define MAX_ARGS_EXT_VAR 32
#define MAX_ARGS_MODULE_DATA 32
+#define DEFAULT_STACK_SIZE 16384
+
char* tags[MAX_ARGS_TAG + 1];
char* identifiers[MAX_ARGS_IDENTIFIER + 1];
char* ext_vars[MAX_ARGS_EXT_VAR + 1];
@@ -110,7 +112,7 @@ int negate = FALSE;
int count = 0;
int limit = 0;
int timeout = 1000000;
-unsigned int stacksize = 16384;
+unsigned int stacksize = DEFAULT_STACK_SIZE;
int threads = 8;
--
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