[dovecot/core] 13fd9a: imap: Fix recent flags importing when un-hibernati...

GitHub noreply at github.com
Mon Nov 21 11:00:13 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 13fd9a5374adefe5e73431ae9ec4d11f99ad40f1
      https://github.com/dovecot/core/commit/13fd9a5374adefe5e73431ae9ec4d11f99ad40f1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/imap/imap-state.c

  Log Message:
  -----------
  imap: Fix recent flags importing when un-hibernating

The initial RECENT counter that was sent didn't include pre-hibernation
\Recent flags.

\Recent flags were also added for mails that were already expunged, which
could have caused recent counter to be wrong later on, and possibly
assert-crash with:

Panic: file index-status.c: line 130 (index_storage_get_open_status): assertion failed: (status_r->recent <= status_r->messages)


  Commit: 00776386fd52c8edc8a7fe7a49700061a62a08dc
      https://github.com/dovecot/core/commit/00776386fd52c8edc8a7fe7a49700061a62a08dc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-21 (Mon, 21 Nov 2016)

  Changed paths:
    M src/plugins/fts/fts-parser.c

  Log Message:
  -----------
  fts: Fixed potential crash when indexing mails.

Normally it seems like compilers had built code that had added a NULL
after the array, but there was no guarantee for that.


Compare: https://github.com/dovecot/core/compare/b5138141c383...00776386fd52


More information about the dovecot-cvs mailing list