]> granicus.if.org Git - mutt/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)
commit215178323034e25186f40d0e059942ec11e05eef
tree5788532d558957b053eece8e11d3ea1ef2a19c67
parentef0be6e71aa28c6b56556a8b6d36d72b2f0c1cb4
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