]> granicus.if.org Git - neomutt/commit
check_charset: check for NULL before calling strtok_r (closes #3326)
authorAntonio Radici <antonio@dyne.org>
Sun, 8 Jul 2012 04:57:01 +0000 (21:57 -0700)
committerAntonio Radici <antonio@dyne.org>
Sun, 8 Jul 2012 04:57:01 +0000 (21:57 -0700)
commit15efae443f99f20f56d6dcd2c0daa5577ba06e6b
tree5788532d558957b053eece8e11d3ea1ef2a19c67
parent3bd11414f554e263abdf01396f1afabb6e778f1e
check_charset: check for NULL before calling strtok_r (closes #3326)

Otherwise, if strtok_r cannot handle NULL an empty *charset setting will segfault
init.c