[Forensics-changes] [yara] 224/415: Fix bug causing some wide strings not being detected
Hilko Bengen
bengen at moszumanska.debian.org
Thu Apr 3 05:43:08 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 06852dedeab45c85b94afd6a0011298c2dde5fd2
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Fri Nov 15 13:39:05 2013 +0000
Fix bug causing some wide strings not being detected
---
libyara/atoms.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libyara/atoms.c b/libyara/atoms.c
index a4583d2..03b6882 100644
--- a/libyara/atoms.c
+++ b/libyara/atoms.c
@@ -575,7 +575,7 @@ int _yr_atoms_wide(
new_atom->atom_length = min(atom->atom_length * 2, MAX_ATOM_LENGTH);
new_atom->forward_code = atom->forward_code;
new_atom->backward_code = atom->backward_code;
- new_atom->backtrack = atom->backtrack;
+ new_atom->backtrack = atom->backtrack * 2;
new_atom->next = *wide_atoms;
*wide_atoms = new_atom;
--
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