Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
dovecot22.5071
de5d6bb50931ea243f582ace5a31abb11b619ffe.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File de5d6bb50931ea243f582ace5a31abb11b619ffe.patch of Package dovecot22.5071
From de5d6bb50931ea243f582ace5a31abb11b619ffe Mon Sep 17 00:00:00 2001 From: Aki Tuomi <aki.tuomi@dovecot.fi> Date: Wed, 17 May 2017 12:26:42 +0300 Subject: [PATCH] fts: Do not attempt to deinitialize backend if it's not set If FTS backend initialization fails or does not happen, flist->backend might end up being NULL, and attempt to deinitialize NULL won't end well. --- src/plugins/fts/fts-storage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/fts/fts-storage.c b/src/plugins/fts/fts-storage.c index 32a49ade0..370ec8680 100644 --- a/src/plugins/fts/fts-storage.c +++ b/src/plugins/fts/fts-storage.c @@ -830,7 +830,8 @@ static void fts_mailbox_list_deinit(struct mailbox_list *list) { struct fts_mailbox_list *flist = FTS_LIST_CONTEXT(list); - fts_backend_deinit(&flist->backend); + if (flist->backend != NULL) + fts_backend_deinit(&flist->backend); flist->module_ctx.super.deinit(list); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor