[Forensics-changes] [yara] 324/407: Comment previous change

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:41 UTC 2017


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

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

commit 6b6b771f23d512d2120d02d6413d0d74c03d6622
Author: Victor Manuel Alvarez <vmalvarez at virustotal.com>
Date:   Wed Jan 7 11:28:57 2015 +0100

    Comment previous change
---
 libyara/parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libyara/parser.c b/libyara/parser.c
index 7906918..181b043 100644
--- a/libyara/parser.c
+++ b/libyara/parser.c
@@ -349,7 +349,7 @@ int _yr_parser_write_string(
     result = yr_arena_write_data(
         compiler->sz_arena,
         literal_string->c_string,
-        literal_string->length + 1,
+        literal_string->length + 1,   // +1 to include terminating NULL
         (void**) &(*string)->string);
 
     if (result == ERROR_SUCCESS)

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