#include clamav-config.h

git-svn: trunk@1774
remotes/push_mirror/metadata
Trog 20 years ago
parent 8b7c3c29a2
commit 2113e6d960
  1. 4
      clamav-devel/ChangeLog
  2. 4
      clamav-devel/libclamav/unrar/unrar.c
  3. 12
      clamav-devel/libclamav/unrar/unrarvm.c

@ -1,3 +1,7 @@
Tue Nov 29 16:31:23 GMT 2005 (trog)
-----------------------------------
* libclamav/unrar/unrar.c unrarvm.c: #include clamav-config.h
Mon Nov 28 20:45:20 CET 2005 (tk)
---------------------------------
* configure.in: check for hardware acceleration library (--disable-hwaccel

@ -20,6 +20,10 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

@ -20,6 +20,10 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#include <string.h>
#include "unrar.h"
@ -586,6 +590,14 @@ static int rarvm_execute_code(rarvm_data_t *rarvm_data,
rar_dbgmsg("in rarvm_execute_code\n");
cmd = prepared_code;
while (1) {
if (cmd > (prepared_code + code_size)) {
cli_dbgmsg("RAR: code overrun detected\n");
return FALSE;
}
if (cmd < prepared_code) {
cli_dbgmsg("RAR: code underrun detected\n");
return FALSE;
}
op1 = rarvm_get_operand(rarvm_data, &cmd->op1);
op2 = rarvm_get_operand(rarvm_data, &cmd->op2);
rar_dbgmsg("op(%d) op_code: %d, op1=%u, op2=%u\n", 25000000-max_ops,

Loading…
Cancel
Save