dovecot-2.1: dbox: Fixed a potential crash when building message...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jun 29 06:15:10 EEST 2012
details: http://hg.dovecot.org/dovecot-2.1/rev/3efbc4a8219b
changeset: 14583:3efbc4a8219b
user: Timo Sirainen <tss at iki.fi>
date: Fri Jun 29 06:14:51 2012 +0300
description:
dbox: Fixed a potential crash when building message stream from external attachments.
diffstat:
src/lib-storage/index/dbox-common/dbox-attachment.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 81a659ab9183 -r 3efbc4a8219b src/lib-storage/index/dbox-common/dbox-attachment.c
--- a/src/lib-storage/index/dbox-common/dbox-attachment.c Thu Jun 28 06:32:00 2012 +0300
+++ b/src/lib-storage/index/dbox-common/dbox-attachment.c Fri Jun 29 06:14:51 2012 +0300
@@ -212,9 +212,9 @@
input = i_stream_create_limit(*stream, trailer_size);
array_append(&streams, &input, 1);
- (void)array_append_space(&streams);
}
}
+ (void)array_append_space(&streams);
inputs = array_idx_modifiable(&streams, 0);
i_stream_unref(stream);
More information about the dovecot-cvs
mailing list