[Forensics-changes] [yara] 62/368: Remove unnecessary assertion
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:30:11 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 85e75909c32993750b1316527a4fa35262d28979
Author: Victor Manuel Alvarez <vmalvarez at virustotal.com>
Date: Tue Sep 22 13:53:16 2015 +0200
Remove unnecessary assertion
---
libyara/scan.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libyara/scan.c b/libyara/scan.c
index 10c379b..b62163b 100644
--- a/libyara/scan.c
+++ b/libyara/scan.c
@@ -329,8 +329,6 @@ int _yr_scan_fast_hex_re_exec(
(*(ip + 11) == RE_OPCODE_LITERAL &&
*(ip + 12) == *next_input))
{
- assert(sp < MAX_FAST_HEX_RE_STACK);
-
if (sp >= MAX_FAST_HEX_RE_STACK)
return -4;
--
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