From 9a0539868aa9526e546142045c9ba0057062d54b Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Sat, 10 Feb 2007 15:41:32 +0000 Subject: [PATCH] backport: fix crash due to uninited var when parsing IMAPServer. -REF: --- src/drv_imap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drv_imap.c b/src/drv_imap.c index 6501a2f..21e6018 100644 --- a/src/drv_imap.c +++ b/src/drv_imap.c @@ -1705,6 +1705,7 @@ imap_parse_store( conffile_t *cfg, store_conf_t **storep, int *err ) *serverapp = server; serverapp = &server->next; store = 0; + *storep = 0; } else if (!strcasecmp( "IMAPStore", cfg->cmd )) { store = nfcalloc( sizeof(*store) ); store->gen.driver = &imap_driver;