dovecot-2.2: lib-compression: Assert-crashfix to handling EOF in...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jan 27 14:25:15 EET 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/1a54118f4690
changeset: 17117:1a54118f4690
user: Timo Sirainen <tss at iki.fi>
date: Mon Jan 27 14:25:03 2014 +0200
description:
lib-compression: Assert-crashfix to handling EOF in LZ4 compression
diffstat:
src/lib-compression/istream-lz4.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 6018854c8c91 -r 1a54118f4690 src/lib-compression/istream-lz4.c
--- a/src/lib-compression/istream-lz4.c Fri Jan 17 17:36:29 2014 -0500
+++ b/src/lib-compression/istream-lz4.c Mon Jan 27 14:25:03 2014 +0200
@@ -104,7 +104,7 @@
if (ret < 0) {
stream->istream.stream_errno =
stream->parent->stream_errno;
- if (stream->istream.stream_errno != 0) {
+ if (stream->istream.stream_errno == 0) {
stream->istream.eof = TRUE;
zstream->stream_size = stream->istream.v_offset +
stream->pos - stream->skip;
More information about the dovecot-cvs
mailing list