#3326: mutt segfaults if a charset is empty in .muttrc
-------------------------------+--------------------------------------------
Reporter: antonio@… | Owner: mutt-dev
Type: defect | Status: closed
Priority: trivial | Milestone:
Component: mutt | Version: 1.5.20
Resolution: fixed | Keywords: patch
-------------------------------+--------------------------------------------
Changes (by Antonio Radici <antonio@…>):
* status: new => closed
* resolution: => fixed
Comment:
(In [8fabaffc2c00]) check_charset: check for NULL before calling strtok_r
(closes #3326)
Otherwise, if strtok_r cannot handle NULL an empty *charset setting will
segfault
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3326#comment:4>
Mutt <http://www.mutt.org/>
The Mutt mail user agent