Skip to content

Commit

Permalink
imapsieve plugin: Prevent possible NULL pointer dereference at transa…
Browse files Browse the repository at this point in the history
…ction commit.
  • Loading branch information
stephanbosch committed Jun 20, 2016
1 parent 44316d4 commit 358e40d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/imapsieve/imap-sieve-storage.c
Expand Up @@ -723,7 +723,7 @@ imap_sieve_mailbox_transaction_commit(

if ((lbox->super.transaction_commit(t, changes_r)) < 0)
ret = -1;
else {
else if (ismt != NULL) {
isuser->sieve_active = TRUE;
if (imap_sieve_mailbox_transaction_run
(ismt, box, changes_r) < 0)
Expand Down

0 comments on commit 358e40d

Please sign in to comment.