[Forensics-changes] [yara] 161/407: Fix issue #195
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:28:21 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 3e260f3db733f9c80e91d32a7a57d68c0e3e1ca9
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Thu Oct 30 09:33:43 2014 +0100
Fix issue #195
---
libyara/exec.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/libyara/exec.c b/libyara/exec.c
index e169ee3..9421667 100644
--- a/libyara/exec.c
+++ b/libyara/exec.c
@@ -536,6 +536,13 @@ int yr_execute_code(
pop(r2);
function = UINT64_TO_PTR(YR_OBJECT_FUNCTION*, r2);
+
+ if (IS_UNDEFINED(function))
+ {
+ push(UNDEFINED);
+ break;
+ }
+
result = ERROR_INTERNAL_FATAL_ERROR;
for (i = 0; i < MAX_OVERLOADED_FUNCTIONS; 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