backport: fix crash due to uninited var when parsing IMAPServer.
-REF: <E1HFuIM-00041h-Nn@sc8-pr-cvs2.sourceforge.net>
This commit is contained in:
parent
43f23fb180
commit
9a0539868a
|
@ -1705,6 +1705,7 @@ imap_parse_store( conffile_t *cfg, store_conf_t **storep, int *err )
|
||||||
*serverapp = server;
|
*serverapp = server;
|
||||||
serverapp = &server->next;
|
serverapp = &server->next;
|
||||||
store = 0;
|
store = 0;
|
||||||
|
*storep = 0;
|
||||||
} else if (!strcasecmp( "IMAPStore", cfg->cmd )) {
|
} else if (!strcasecmp( "IMAPStore", cfg->cmd )) {
|
||||||
store = nfcalloc( sizeof(*store) );
|
store = nfcalloc( sizeof(*store) );
|
||||||
store->gen.driver = &imap_driver;
|
store->gen.driver = &imap_driver;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user