Tartarus CVS: viruswatch: simon

tartarus-commits@lists.tartarus.org tartarus-commits@lists.tartarus.org
Sat, 04 Jan 2003 09:56:04 +0000


CVS Root:       /home/cvs
Module:         viruswatch
Changes by:     simon
Date:           Sat Jan 04 2003  09:56:04 GMT

Log message:
After a malformed header (RFC822 or MIME) the analyser's state was
being set to the wrong thing. The effect was that a malformed header
right before the end-of-headers blank line would cause the blank
line to be ignored - so a virus actually managed to get through
because the analyser apparently thought the whole of the base64-
encoded executable was part of the MIME headers. Should be plugged.

Modified files:
    .               : viruswatch.c

Links:
http://cvs.tartarus.org//viruswatch/viruswatch.c.diff?r1=1.6&r2=1.7