[Forensics-changes] [yara] 102/415: Allow multi-line hex strings
    Hilko Bengen 
    bengen at moszumanska.debian.org
       
    Thu Apr  3 05:42:50 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 49e58676b9fc4fb85c68ae4772512112fbad0351
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Thu Jul 28 11:14:42 2011 +0000
    Allow multi-line hex strings
---
 libyara/ast.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libyara/ast.c b/libyara/ast.c
index dd676c6..6d7f283 100644
--- a/libyara/ast.c
+++ b/libyara/ast.c
@@ -366,7 +366,7 @@ int new_hex_string( YARA_CONTEXT* context,
             result = ERROR_MISMATCHED_BRACKET;
             break;          
         }
-        else if (c == ' ')
+        else if (c == ' ' || c == '\n' || c == '\t')
 		{
 			i++;
 		}
-- 
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