[commit] isync_1_1_branch: fix hypothetical buffer overflows

2014-04-12 Thread Oswald Buddenhagen
commit d34baeb88607706ab5eec8f049cdc900030f2601 Author: Oswald Buddenhagen Date: Sat Apr 12 13:03:46 2014 +0200 fix hypothetical buffer overflows if something managed to make the maildir .uidvalidity files big enough (possible only by appending garbage or scrambling them alltog

[commit] isync_1_1_branch: don't crash in message expiration debug print

2014-04-12 Thread Oswald Buddenhagen
commit c5f2943ff6f3d506a06a896ab634063bff223af0 Author: Oswald Buddenhagen Date: Sat Apr 12 15:28:28 2014 +0200 don't crash in message expiration debug print we would try to print the uids from the non-existing srec of unpaired messages while preparing expiration. this woul

[commit] isync_1_1_branch: remove apparently pointless resetting of recent message count

2014-04-12 Thread Oswald Buddenhagen
commit 8844ff30632221490728c89a88572a86caa6a9aa Author: Oswald Buddenhagen Date: Sat Apr 12 19:00:33 2014 +0200 remove apparently pointless resetting of recent message count past this point, it's not used for anything anyway. src/drv_maildir.c |1 - 1 files changed, 0 inserti

[commit] isync_1_1_branch: don't crash on malformed response code

2014-04-12 Thread Oswald Buddenhagen
commit ae49a37a3e82f3b590b8a95e778b56ff5286311f Author: Oswald Buddenhagen Date: Sat Apr 12 15:02:40 2014 +0200 don't crash on malformed response code this would happen in the absurd corner case that the response code is properly terminated with a closing bracket, but the atom

[commit] isync_1_1_branch: don't forget to reset message counts when skipping scan

2014-04-12 Thread Oswald Buddenhagen
commit 4d8575100d208129bc5d45e3968262415602ac04 Author: Oswald Buddenhagen Date: Sat Apr 12 19:02:06 2014 +0200 don't forget to reset message counts when skipping scan amends b6949c64d2. CCMAIL: 744...@bugs.debian.org src/drv_maildir.c |4 +++- 1 files changed, 3 ins

[commit] isync_1_1_branch: error-check committing of sync state

2014-04-12 Thread Oswald Buddenhagen
commit 2d4bc1e6138f81bcf160154017f19725cdc21051 Author: Oswald Buddenhagen Date: Sat Apr 12 18:31:18 2014 +0200 error-check committing of sync state a failure here is rather unlikely, but let's be pedantic. a failure is not fatal (we'll just enter the journal replay path next

[commit] isync_1_1_branch: remove pointless pointer assignment

2014-04-12 Thread Oswald Buddenhagen
commit 0dfbf6f6fba286e901cfdf52157cf35e106da583 Author: Oswald Buddenhagen Date: Sat Apr 12 13:08:10 2014 +0200 remove pointless pointer assignment src/compat/main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/compat/main.c b/src/compat/main.c index 532f0

[commit] isync_1_1_branch: remove pointless/counterproductive "Disk full?" error message suffixes

2014-04-12 Thread Oswald Buddenhagen
commit c6ddad6ac4fd5bfced98434df4bd50802426daa2 Author: Oswald Buddenhagen Date: Sat Apr 12 18:28:21 2014 +0200 remove pointless/counterproductive "Disk full?" error message suffixes the affected functions will set errno to ENOSPC when necessary. src/sync.c |4 ++-- 1 files c

[commit] isync_1_1_branch: assert !where implying !pseudo

2014-04-12 Thread Oswald Buddenhagen
commit 9932352df02a328abd8dd229932babe892087050 Author: Oswald Buddenhagen Date: Sat Apr 12 16:06:33 2014 +0200 assert !where implying !pseudo to help poor coverity. src/config.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/config.c b/src/config.c

[commit] isync_1_1_branch: close a bunch of fd leaks in error paths

2014-04-12 Thread Oswald Buddenhagen
commit df29c592d1249b5f1c6eb69dca6684100f1f098b Author: Oswald Buddenhagen Date: Sat Apr 12 12:46:36 2014 +0200 close a bunch of fd leaks in error paths found by coverity. src/drv_maildir.c |9 +++-- src/mdconvert.c |5 - 2 files changed, 11 insertions(+), 3 del

[commit] isync_1_1_branch: fix segfault on passing --{create, expunge}-{master, slave}

2014-04-12 Thread Oswald Buddenhagen
commit 31ba8375b0afbd0902a596bff7fb55249908ce9a Author: Oswald Buddenhagen Date: Sat Apr 12 15:16:22 2014 +0200 fix segfault on passing --{create,expunge}-{master,slave} stupid copy&pasto. found by coverity. src/main.c |4 ++-- 1 files changed, 2 insertions(+), 2 del

[commit] isync_1_1_branch: don't crash on truncated LIST response

2014-04-12 Thread Oswald Buddenhagen
commit fd872a7ff7078c76fa255305c630258d02934d49 Author: Oswald Buddenhagen Date: Sat Apr 12 14:58:18 2014 +0200 don't crash on truncated LIST response found by coverity. src/drv_imap.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/drv_imap.c b/

[commit] isync_1_1_branch: error-check reading of old uidvalidity and maxuid files

2014-04-12 Thread Oswald Buddenhagen
commit 09db83809a60a3999b733129061b69882ec86f59 Author: Oswald Buddenhagen Date: Sat Apr 12 18:34:26 2014 +0200 error-check reading of old uidvalidity and maxuid files found by coverity. src/compat/convert.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-)

[commit] isync_1_1_branch: better error messages for sync state and journal related errors

2014-04-12 Thread Oswald Buddenhagen
commit aa0118d047444873f20a6900e040619a9c6f5cef Author: Oswald Buddenhagen Date: Sat Apr 12 18:30:09 2014 +0200 better error messages for sync state and journal related errors we can make perfectly good use of errno here. src/sync.c |8 1 files changed, 4 insertions(

[commit] isync_1_1_branch: error-check renaming of uid mapping database

2014-04-12 Thread Oswald Buddenhagen
commit 532d964aea327c4ff77fac5c3979c7d302f97d76 Author: Oswald Buddenhagen Date: Sat Apr 12 18:59:45 2014 +0200 error-check renaming of uid mapping database for pedantry. found by coverity. src/compat/convert.c |5 - 1 files changed, 4 insertions(+), 1 deletions(

[commit] isync_1_1_branch: fix "inverse copy&pasto" in account labeling code

2014-04-12 Thread Oswald Buddenhagen
commit d7d5fd20bc81db0aff711a540a2186a4f93b21e8 Author: Oswald Buddenhagen Date: Sat Apr 12 16:56:00 2014 +0200 fix "inverse copy&pasto" in account labeling code the code was copied and the original adjusted ... but not quite completely. this means that clashing server name