[Grml] Virus scanner

Michael Prokop mika at grml.org
Mon Dec 19 03:38:04 CET 2005


* Mark <or2uvma02 at sneakemail.com> [20051219 00:15]:

> > Jupp, this is - very probably - the problem. Virus scanning
> > definitely needs some RAM.

> Maybe so but in that case the proper behavior is a graceful exit.  An
> error message like "out of RAM" can go to stderr.  It is still a bug to
> hang and do nothing.

> I do not know whether the bug is ClamAV itself, or GRML, or Linux, some
> interaction.  But out of memory is a classic testing condition that a
> lot of programmers neglect to handle.

Checking for "enough memory" isn't that easy. Detecting this in a
userspace program like clamav won't really work.

regards,
-mika-
-- 
You like grml?  Help us!      http://grml.org/donations/
Already on the grml-user-map? http://www.frappr.com/grmlusers
grml-solutions                http://solutions.grml.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/grml/attachments/20051219/553b1264/attachment-0003.pgp>


More information about the Grml mailing list