[Forensics-changes] [yara] 32/368: Posix compliant +1 to include null terminator

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:30:08 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 1d5e70da40cbf0ecfddc7171d851db2f043813bf
Author: Tim Konick <konick781 at gmail.com>
Date:   Fri Aug 7 20:42:47 2015 -0400

    Posix compliant +1 to include null terminator
---
 yara.c  | 2 +-
 yarac.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/yara.c b/yara.c
index 0d938fb..898e5ce 100644
--- a/yara.c
+++ b/yara.c
@@ -45,7 +45,7 @@ limitations under the License.
 #define ERROR_COULD_NOT_CREATE_THREAD  100
 
 #ifndef MAX_PATH
-#define MAX_PATH 255
+#define MAX_PATH 256
 #endif
 
 #ifndef min
diff --git a/yarac.c b/yarac.c
index 82cf172..9a86647 100644
--- a/yarac.c
+++ b/yarac.c
@@ -37,7 +37,7 @@ limitations under the License.
 #include "config.h"
 
 #ifndef MAX_PATH
-#define MAX_PATH 255
+#define MAX_PATH 256
 #endif
 
 #define MAX_ARGS_EXT_VAR   32

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