From: markus schnalke Date: Fri, 3 Feb 2012 09:42:49 +0000 (+0100) Subject: Fixed abort of e.g. comp when draft folder is empty. X-Git-Tag: mmh-thesis-end~380 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=0b81a300d9e7cf78b6bc11d8c870f57fa81fcdc4;hp=0b81a300d9e7cf78b6bc11d8c870f57fa81fcdc4;p=mmh Fixed abort of e.g. comp when draft folder is empty. In this case mp->lowoff is 1 but mp->lowmsg equal mp->hghmsg equal 0. Hence we have an access at mp->msgstats[-1], which corrupted our mem. Gdb hadn't helped me for this, but valgrind showed me the problem. ---