three things...
1) I updated the .spec file WE USE for clamav RPMS to mark the virus
dabases as config files, so they do not get replaced on an RPM
upgrade... the last think one wants to do when installing a bug
fix is install june virus signatures...
-%attr(644,clamav,root) %verify(not md5 size mtime) %{_datadir}/%{name}/*.db*
+%attr(644,clamav,root) %config(noreplace) %verify(not md5 size mtime)
%{_datadir}/%{name}/*.db*
I'm not a rpm expert, so I don't know if the noreplace is needed.
2) I've also added a patch to message.c to remove another
assertion... I assume the mail message is malformed, since pine doesn't
like it either... but crashing clamd and shutting down the whole mail
system isn't acceptable.
--- libclamav/message.c.orig Fri Jun 20 12:38:34 2003
+++ libclamav/message.c Mon Sep 22 15:43:42 2003
@@ -535,7 +535,13 @@
/*
* t_line should now point to the first (encoded) line of the message
*/
- assert(t_line != NULL);
+#ifdef CL_DEBUG
+ /* assert(t_line != NULL); */
+ if (t_line == NULL) {
+ cli_dbgmsg("t_line != NULL assertion failed and removed by TAB\n");
+ return b;
+ }
+#endif
if(messageGetEncoding(m) == NOENCODING)
/*
the cli_dbgmsg is almost certainly NOT wanted by you folks. I
don't know if return b is the correct behaviour... it does seem
to be what the code following the assertion does... e.g. read
until t_line->next is null and return b ...
3) I'd just like to state that as an end user, the SF trackers
were a good way to find out if you were chasing an already known
bug. It is a bitch to chase down a bug in some package, fix it,
post the patch, and be told that "it's already fixed in CVS" or
even worse that the code has been forked and no-one wants patches
for the code you're using... I found the empty mime-part patch
there...
-Tom
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Clamav-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-devel