[dovecot/core] 96e1ed: fs-metawrap: Don't assert-crash when trying to wri...
GitHub
noreply at github.com
Tue Oct 11 08:00:10 UTC 2016
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 96e1ed172ae59cae6bc6e6ddd24d22a158e23dfe
https://github.com/dovecot/core/commit/96e1ed172ae59cae6bc6e6ddd24d22a158e23dfe
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-11 (Tue, 11 Oct 2016)
Changed paths:
M src/lib-fs/fs-metawrap.c
M src/lib-fs/test-fs-metawrap.c
Log Message:
-----------
fs-metawrap: Don't assert-crash when trying to write an empty file.
Fixes:
Panic: file fs-metawrap.c: line 401 (fs_metawrap_write_stream_finish): assertion failed: (file->super_output->offset > 0 || file->super_output->stream_errno != 0)
Commit: 004be038dfe290f71e3d4a4b14d88673e8b55fb2
https://github.com/dovecot/core/commit/004be038dfe290f71e3d4a4b14d88673e8b55fb2
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-11 (Tue, 11 Oct 2016)
Changed paths:
M src/lib-program-client/program-client.c
Log Message:
-----------
lib-program-client: Fixed program_client_run() that succeeds rapidly.
program_client_run_async() could have called the callback with result=0
before io_loop_run(). This happened with local client.
Fixes in test-program-client-local:
Panic: BUG: No IOs or timeouts set. Not waiting for infinity.
Commit: 56774de9cdf7108a43c6b20060c506fe4f2652bb
https://github.com/dovecot/core/commit/56774de9cdf7108a43c6b20060c506fe4f2652bb
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2016-10-11 (Tue, 11 Oct 2016)
Changed paths:
M src/lib-program-client/test-program-client-local.c
Log Message:
-----------
lib-program-client: Fixed potential panic in test-program-client-local
If the run finished before io_loop_run(), it would panic with:
Panic: BUG: No IOs or timeouts set. Not waiting for infinity.
Compare: https://github.com/dovecot/core/compare/d1a82a255579...56774de9cdf7
More information about the dovecot-cvs
mailing list