[Pkg-dspam-misc] Bug#688853: dspam: long line in message body causes '530 5.2.0 Message is empty. Aborting.'

Andrey waster2008 at gmail.com
Wed Sep 26 13:22:02 UTC 2012


Yes, I see in daemon_getline() function in daemon.c it tries to read 
buf[1024] with some timeout and get. But it seems that read_sock() 
returns NULL message.

26.09.2012 16:40, Thomas Preud'homme пишет:
> Le mercredi 26 septembre 2012 11:07:09, vous avez écrit :
>> Package: dspam
>> Version: 3.10.1+dfsg-3~bpo60+1
>> Severity: critical
>>
>>
>> dspam sends '530 5.2.0 Message is empty. Aborting.' while receiving
>> incorrect spam message with long-long line, for example with length
>> about 300K bytes:
>
>  From what I read so far, dspam only reads a maximum of 1023 bytes per line but
> discard the whole line after that. I guess because of this it must be confuse
> by the quantity of bytes read and continues to read when there is no more
> data. The error you mention is raised by dspam when a message is empty.
>
> I'll continue to investigate.
>
> Thomas
>



More information about the Pkg-dspam-misc mailing list