Here is a mail from Russell Marks, author of nomarch

Pavel Urban <[EMAIL PROTECTED]> wrote:

 > > Hello,
 > >
 > > we're using your 'nomarch' as a part of Linux antivirus/antispam
 > > system (nomarch attached through amavisd-new). Today I've found that
 > > the server has been nearly locked up by looping nomarch processes.
 > > Could you please try attached (probably broken) archive? Thank you!

It's certainly an interesting one, I tried it in the old "arc" and it
segfaulted. Ironic really, it might have been preferable if nomarch
had done the same... :-)

Luckily the fix is easy, I'd just made a silly mistake which meant
certain kinds of corrupt file could hang it. I've attached a patch,
and I'll upload a version 1.4 with the fix soon.

-Rus.



--- readlzw.c~  Thu Aug  8 05:18:54 2002
+++ readlzw.c   Sun Jun 18 13:46:39 2006
@@ -185,7 +185,8 @@
  int tmp;

  while(codeofs)
-  readcode(&tmp,old);
+  if(!readcode(&tmp,old))
+    break;
  }

-- 
***********************************************************************
Pavel Urban ([EMAIL PROTECTED])
IOL system disaster
Internet OnLine, owned by Cesky Telecom, a.s. (www.ct.cz)
***********************************************************************
    Vegetables should not operate electronic equipment.
           Computer Stupidities, http://rinkworks.com/stupid/
***********************************************************************


_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to