[Forensics-changes] [yara] 145/192: YR_TRYCATCH: Don't abort process if unrelated code triggers an exception while scanning. (Win32) (#643)

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:31:58 UTC 2017


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

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

commit f4c005ad12b5cc56e13b438c9b7b5d4b85adb318
Author: Hilko Bengen <hillu at users.noreply.github.com>
Date:   Sat Apr 22 10:24:31 2017 +0200

    YR_TRYCATCH: Don't abort process if unrelated code triggers an exception while scanning. (Win32) (#643)
    
    As described in #632
---
 libyara/exception.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libyara/exception.h b/libyara/exception.h
index edead24..30e4745 100644
--- a/libyara/exception.h
+++ b/libyara/exception.h
@@ -50,8 +50,6 @@ static LONG CALLBACK exception_handler(
     case EXCEPTION_ACCESS_VIOLATION:
       if (tidx != -1 && exc_jmp_buf[tidx] != NULL)
         longjmp(*exc_jmp_buf[tidx], 1);
-
-      assert(FALSE);  // We should not reach this point.
   }
 
   return EXCEPTION_CONTINUE_SEARCH;

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