[dovecot/core] 0fea52: lib: Add asserts to make sure hash table isn't fre...

GitHub noreply at github.com
Tue Jan 17 12:00:09 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 0fea5292dd06e4532e43605cce06ff95c71e9baa
      https://github.com/dovecot/core/commit/0fea5292dd06e4532e43605cce06ff95c71e9baa
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

  Changed paths:
    M src/lib/hash.c

  Log Message:
  -----------
  lib: Add asserts to make sure hash table isn't freed while it's frozen.


  Commit: b198cd6da331eb55d300b0e83f59695c58d5885c
      https://github.com/dovecot/core/commit/b198cd6da331eb55d300b0e83f59695c58d5885c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

  Changed paths:
    M src/lib-dict/dict-private.h
    M src/lib-dict/dict.c

  Log Message:
  -----------
  lib-dict: Add assert to make sure all iterators are deinitialized.


  Commit: 37fed1bc1545f7eb1755b61d6a5ac4d083a693b3
      https://github.com/dovecot/core/commit/37fed1bc1545f7eb1755b61d6a5ac4d083a693b3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

  Changed paths:
    M src/lib-dict/dict-file.c

  Log Message:
  -----------
  dict-file: Fix potential crash when doing other dict calls during iteration.

If file was refreshed, the hash table was cleared, which broke the existing
iterators.


Compare: https://github.com/dovecot/core/compare/c32d111cf4d8...37fed1bc1545


More information about the dovecot-cvs mailing list