dovecot-1.2-sieve: Imap4flags: fixed segfault bug occuring in mu...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Thu Sep 30 22:17:30 EEST 2010
details: http://hg.rename-it.nl/dovecot-1.2-sieve/rev/967ed7d6a504
changeset: 1277:967ed7d6a504
user: Stephan Bosch <stephan at rename-it.nl>
date: Thu Sep 30 21:17:08 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 e14a84a4d904 -r 967ed7d6a504 src/lib-sieve/plugins/imap4flags/tag-flags.c
--- a/src/lib-sieve/plugins/imap4flags/tag-flags.c Fri Sep 17 21:22:27 2010 +0200
+++ b/src/lib-sieve/plugins/imap4flags/tag-flags.c Thu Sep 30 21:17:08 2010 +0200
@@ -349,7 +349,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