Browse code

fix result of yara matches operator when running in ClamAV.

Steven Morgan authored on 2017/12/22 02:26:34
Showing 1 changed files
... ...
@@ -885,7 +885,7 @@ int yr_execute_code(
885 885
           NULL,
886 886
           NULL);
887 887
 #else
888
-        //TDB CLAMAV
888
+        result = -1;  //matches not currently supported in ClamAV. push(FALSE).
889 889
 #endif
890 890
 
891 891
         push(result >= 0);