commit e6ca381a4c8d95aa624acb1fbb7466d8de435a26 Author: Oswald Buddenhagen <o...@kde.org> Date: Sun May 22 17:23:23 2011 +0200
fix potential double free the store may be discarded before we reach maildir_select() again, which will leave us with a dangling pointer. src/drv_maildir.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/drv_maildir.c b/src/drv_maildir.c index e6ce1e4..2688612 100644 --- a/src/drv_maildir.c +++ b/src/drv_maildir.c @@ -763,6 +763,7 @@ maildir_select( store_t *gctx, int create, maildir_cleanup( gctx ); gctx->msgs = 0; + ctx->excs = 0; ctx->uvfd = -1; #ifdef USE_DB ctx->db = 0; ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel