[patch] Fix possible memory corruption in bogofilter 1.2.1
Julius Plenz <[email protected]> Mon, 28 Jun 2010 11:08:26 +0200
| Newsgroups | gmane.mail.bogofilter.devel |
|---|---|
| Message-ID | <[email protected]> |
--GV0iVqYguTV4Q9ER Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --GV0iVqYguTV4Q9ER Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=minimal Content-Transfer-Encoding: base64 Q29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7Ym91bmRhcnk9Ii0tLS1ib3VuZCINCg0K LS0tLS0tYm91bmQNCkNvbnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IGJhc2U2NA0KDQoNCj1D N0VUPURETkVSU0FWQT1ERT0yMA0KLS0tLS0tYm91bmQNCkNvbnRlbnQtVHlwZTogdGV4dC9w bGFpbjsgY2hhcnNldD0iaXNvLTg4NTktOSINCg== --GV0iVqYguTV4Q9ER Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bogofilter-dev mailing list [email protected] http://www.bogofilter.org/mailman/listinfo/bogofilter-dev --GV0iVqYguTV4Q9ER--