Fix potential segfault
authorRicardo Mones <ricardo@mones.org>
Mon, 12 Sep 2016 15:23:18 +0000 (17:23 +0200)
committerRicardo Mones <ricardo@mones.org>
Mon, 12 Sep 2016 15:23:18 +0000 (17:23 +0200)
commit93354c8ef6ea8f1729e878c6c765efd5b100bc0e
treec926b4ebb278f885d7b085709d0ec4088542ff9d
parent00ba843d3929598a46aed80eab703d039cde6bc9
Fix potential segfault

Syslog message was:
[5473572.496127] claws-mail[24080]: segfault at 22 ip
 00000000005704ce sp 00007ffdf1dfcea0 error 4 in
 claws-mail[400000+34a000]

$ addr2line -e /…/claws-mail 00000000005704ce
/…/src/textview.c:837

More details on: http://stackoverflow.com/questions/2179403
src/textview.c