[Forensics-changes] [yara] 87/368: Fix up the variable name for stacksize

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 452b86e3015a617f918fdd690dc99572a7cf1a1b
Author: Coleman Kane <ckane at colemankane.org>
Date:   Fri Oct 9 19:56:13 2015 -0400

    Fix up the variable name for stacksize
---
 yara.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/yara.c b/yara.c
index 1cc03fd..8093253 100644
--- a/yara.c
+++ b/yara.c
@@ -110,6 +110,7 @@ int negate = FALSE;
 int count = 0;
 int limit = 0;
 int timeout = 1000000;
+unsigned int stacksize = 16384;
 int threads = 8;
 
 
@@ -158,7 +159,7 @@ args_option_t options[] =
   OPT_INTEGER('a', "timeout", &timeout,
       "abort scanning after the given number of SECONDS", "SECONDS"),
 
-  OPT_INTEGER('k', "stack-size", &timeout,
+  OPT_INTEGER('k', "stack-size", &stacksize,
       "Set stack size to allocate in exec() to BYTES", "BYTES"),
 
   OPT_BOOLEAN('r', "recursive", &recursive_search,

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