#3326: mutt segfaults if a charset is empty in .muttrc ------------------------------+--------------------------------------------- Reporter: anto...@dyne.org | Owner: mutt-dev Type: defect | Status: new Priority: trivial | Milestone: Component: mutt | Version: 1.5.20 Keywords: patch | ------------------------------+--------------------------------------------- Related to bug http://bugs.debian.org/537818
{{{ To reproduce: 1) create a .muttrc-minimal that contains a parameter with 'charset' in the name and no definition, for example set attach_charset="" or set attach_charset= }}} This will lead to a segfault, the cause is an improper validation in init.c:check_charset, the attached patch fixes the problem -- Ticket URL: <http://dev.mutt.org/trac/ticket/3326> Mutt <http://www.mutt.org/> The Mutt mail user agent -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org