avoid buffer overflow in mutt, see http://www.openwall.com/lists/oss-security/2014/11/27/9