[Pkg-clamav-devel] Bug#819061: Bug#819061: clamsmtp/proxsmtp does not handle lines with leading dots correctly

Michael Meskes meskes at debian.org
Fri Feb 16 17:06:44 UTC 2018


On Fri, Feb 16, 2018 at 03:10:18PM +0100, Christoph Pleger wrote:
> after this has been undealed with since almost two years, I wrote a patch
> myself. Maybe someone finds at least the time to review it.

Please take into account that upstream has abandoned this project, at least as
far as I can tell. 

But since you asked so nicely I did look into it and found that your patch does
not apply to clamsmtp. 

Also you made some changes that don't really seem to be related to the problem at hand, or why did you do for instance this:

> -    while((rc = getline(&line, &line_len, file)) != -1)
> +    while(line = (fgets(buf + 1, buf_len - 1, file)))

I may be missing something obvious here, though, but I haven't looked into clamsmtp's source code much.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



More information about the Pkg-clamav-devel mailing list