fix crash due to uninited var when parsing IMAPServer. Thanks to
CCMAIL: Antoine Reilles <tonio@NetBSD.org> REF: <20070118182534.GA22288@arcelot.loria.fr>
This commit is contained in:
		
							parent
							
								
									023d3ee577
								
							
						
					
					
						commit
						625f592fb7
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1689,6 +1689,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; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue