So this patch fixes clamscan.  I've switched back to using clamd to see
if it is happier.

I imagine that upstream will probably want a more portable fix, as this
requires gcc.

--- /tmp/zzip-zip.c     2005-08-13 12:37:05.966677144 -0400
+++ libclamav/zziplib/zzip-zip.c        2005-08-13 12:37:51.226796560 -0400
@@ -616,7 +616,7 @@
 {
     zzip_error_t rv;
     zzip_off_t filesize;
-    struct zzip_disk_trailer trailer;
+    struct zzip_disk_trailer trailer __attribute__ ((aligned (8)));
     /* if (! dir || dir->fd < 0) 
      *     { rv = EINVAL; goto error; } 
      */


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to