]> granicus.if.org Git - neomutt/commit
Check outbuf length in mutt_to_base64()
authorKevin McCarthy <kevin@8t8.us>
Fri, 13 Jul 2018 21:25:28 +0000 (14:25 -0700)
committerRichard Russon <rich@flatcap.org>
Sun, 15 Jul 2018 22:33:06 +0000 (23:33 +0100)
commit6f163e07ae68654d7ac5268cbb7565f6df79ad85
treebda832576c468130c8faca941c88cb9c529cefbc
parent5925affeeb7152388fcb460b8160696137117107
Check outbuf length in mutt_to_base64()

The obuf can be overflowed in auth_cram.c, and possibly auth_gss.c.

Thanks to Jeriko One for the bug report.
imap/auth_cram.c
imap/auth_gss.c
mutt/base64.c
mutt/base64.h
mutt/rfc2047.c
test/base64.c