[patch] Fix possible memory corruption in bogofilter 1.2.1

Julius Plenz plenz at cis.fu-berlin.de
Mon Jun 28 11:08:26 CEST 2010


Hi,

I found a bug in the base64_decode function which may cause memory
corruption when the function is executed on a malformed base64 encoded
string.

Please find attached a minimal example which makes "bogofilter -e -p"
crash and a patch (with inline problem description) that fixes the bug.

Cheers,
Julius
-------------- next part --------------
Content-Type: multipart/mixed;boundary="----bound"

------bound
Content-Transfer-Encoding: base64


=C7ET=DDNERSAVA=DE=20
------bound
Content-Type: text/plain; charset="iso-8859-9"


More information about the bogofilter-dev mailing list