On Sun, 23 Apr 2006, Vieri Di Paola wrote:
My 64-bit system has clamd compiled with -march=nocona
-O2 -fomit-frame-pointer -pipe and it segfaults quite
regularly. Part of a debug session is listed below:
I cannot now find the site where I found this patch; I think it was
a debian site. In any case, it fixed the segfaults I was seeing on
an AMD64 RHEL4 system. If it is not correct perhaps the clam
developers can comment on it.
-- Michael
--- clamav-0.88.1/libclamav/zziplib/zzip-zip.c.orig 2006-03-28
00:43:53.000000000 +0100
+++ clamav-0.88.1/libclamav/zziplib/zzip-zip.c 2006-04-11 18:05:06.275644086
+0100
@@ -30,6 +30,8 @@
#include <sys/stat.h>
#include <unistd.h>
+#include "others.h"
+
/*
#include "__mmap.h"
#include "__debug.h"
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html