[dovecot/core] 909a45: lib-index: Fixed fsck handling extension with inva...

GitHub noreply at github.com
Fri Jun 3 17:30:12 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 909a45f03f34dcdf9495b037ab87520152a4bc6b
      https://github.com/dovecot/core/commit/909a45f03f34dcdf9495b037ab87520152a4bc6b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/lib-index/mail-index-fsck.c

  Log Message:
  -----------
  lib-index: Fixed fsck handling extension with invalid header size

Fixes:

Panic: file mail-index-sync-ext.c: line 393 (mail_index_sync_ext_init_new): assertion failed: (hdr_buf->used == map->hdr.header_size)


  Commit: 1af0c5d8814c2304d09d8ca844a84f0b9b0c1f61
      https://github.com/dovecot/core/commit/1af0c5d8814c2304d09d8ca844a84f0b9b0c1f61
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/lib-index/mail-index-map-read.c
    M src/lib-index/mail-index-modseq.c
    M src/lib-index/mail-index-sync-ext.c
    M src/lib-index/mail-index-sync-keywords.c
    M src/lib-index/mail-index-sync-update.c

  Log Message:
  -----------
  lib-index: Added header-size asserts


  Commit: 379b166bedc9e9c91ee961fd5a85b5d8b456e120
      https://github.com/dovecot/core/commit/379b166bedc9e9c91ee961fd5a85b5d8b456e120
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/lib-index/mail-index-sync-ext.c

  Log Message:
  -----------
  lib-index: Fixed extension resizing

Broken by 8483af4ff.


  Commit: f27c7e633e8eaf386f048fc78b99c68e344f6360
      https://github.com/dovecot/core/commit/f27c7e633e8eaf386f048fc78b99c68e344f6360
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/lib-index/mail-cache-fields.c

  Log Message:
  -----------
  lib-index: Fix duplicate fields in mail_cache_register_fields()

Broken by hash_table_insert() API change. The earlier code was also a bit
wrong by allocating a bit too much memory when there were duplicate fields
being registered.


Compare: https://github.com/dovecot/core/compare/c224fff79d18...f27c7e633e8e


More information about the dovecot-cvs mailing list