[Full-Disclosure] bogofilter-SA-2004-01

.rp printer at moveupdate.com
Thu Nov 4 20:21:30 CET 2004


On 30 Oct 2004 at 15:22, Matthias Andree wrote:
> The pertinent change allowed the quoted-printable decoder to accept LF
> in encoded words but replaced it by a NUL character, which the calling
> function inside bogofilter could not handle. It attempted to write a NUL
> byte either one byte past the end of a buffer provided by the lexical
> analyzer or to an address that was the negative of the address of the
> first byte of the "encoded text" part of the encoded word that was
> supposed to be decoded.
> 
I apologize in advance for asking, but why not 
	set a flag when an encoded word is encountered 
	if LF comes up replace it with ~ 
	when encoded word ends set flag off.






More information about the bogofilter-dev mailing list