dovecot-2.0-pigeonhole: Imap4flags: fixed segfault bug occuring ...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Thu Sep 30 22:11:46 EEST 2010
details: http://hg.rename-it.nl/dovecot-2.0-pigeonhole/rev/0828e3600eec
changeset: 1437:0828e3600eec
user: Stephan Bosch <stephan at rename-it.nl>
date: Thu Sep 30 21:11:34 2010 +0200
description:
Imap4flags: fixed segfault bug occuring in multiscript context.
diffstat:
src/lib-sieve/plugins/imap4flags/tag-flags.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r 5cb795d0d1de -r 0828e3600eec src/lib-sieve/plugins/imap4flags/tag-flags.c
--- a/src/lib-sieve/plugins/imap4flags/tag-flags.c Tue Sep 28 22:50:04 2010 +0200
+++ b/src/lib-sieve/plugins/imap4flags/tag-flags.c Thu Sep 30 21:11:34 2010 +0200
@@ -340,7 +340,8 @@
const struct sieve_side_effect *new_seffect,
void **old_context)
{
- *old_context = new_seffect->context;
+ if ( new_seffect != NULL )
+ *old_context = new_seffect->context;
return 1;
}
More information about the dovecot-cvs
mailing list