[dovecot/core] f6ff61: auth: passdb-blocking - Expose passdb_blocking_aut...

GitHub noreply at github.com
Tue Jan 30 13:00:30 EET 2018


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: f6ff6151e19d723d845ccdd980ce2ec120078d8e
      https://github.com/dovecot/core/commit/f6ff6151e19d723d845ccdd980ce2ec120078d8e
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-01-29 (Mon, 29 Jan 2018)

  Changed paths:
    M src/auth/passdb-blocking.c
    M src/auth/passdb-blocking.h

  Log Message:
  -----------
  auth: passdb-blocking - Expose passdb_blocking_auth_worker_reply_parse

Enables sharing code with passdb cache


  Commit: ff17366f92ed936e05a48f9d20af6089dfb18037
      https://github.com/dovecot/core/commit/ff17366f92ed936e05a48f9d20af6089dfb18037
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-01-29 (Mon, 29 Jan 2018)

  Changed paths:
    M src/auth/auth-worker-client.c
    M src/auth/auth-worker-client.h

  Log Message:
  -----------
  auth-worker: Add auth_worker_auth_request_new

Replaces worker_auth_request_new, moves in
check for username and service. Simplifies code.


  Commit: c6efaa4713bdda811a7c0adc3d0973301934b1c3
      https://github.com/dovecot/core/commit/c6efaa4713bdda811a7c0adc3d0973301934b1c3
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-01-29 (Mon, 29 Jan 2018)

  Changed paths:
    M src/auth/auth-worker-client.c

  Log Message:
  -----------
  auth-worker: Support PASSW request

This will attempt to verify given credentials.


  Commit: 6dddb5759a94bf3500a548b69d430bb800bca456
      https://github.com/dovecot/core/commit/6dddb5759a94bf3500a548b69d430bb800bca456
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-01-29 (Mon, 29 Jan 2018)

  Changed paths:
    M src/auth/auth-request.c
    M src/auth/auth-request.h

  Log Message:
  -----------
  auth: Expose auth_request_verify_plain_callback_finish


  Commit: 7b5357ea1acfe78e115698993101b0cb81bcb17e
      https://github.com/dovecot/core/commit/7b5357ea1acfe78e115698993101b0cb81bcb17e
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-01-29 (Mon, 29 Jan 2018)

  Changed paths:
    M src/auth/auth-request.c
    M src/auth/auth-settings.c
    M src/auth/auth-settings.h
    M src/auth/passdb-cache.c

  Log Message:
  -----------
  auth: passdb-cache - Verify credentials with worker when enabled


  Commit: faf444016aaffe067195a239eb3e471a476d3f35
      https://github.com/dovecot/core/commit/faf444016aaffe067195a239eb3e471a476d3f35
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-01-29 (Mon, 29 Jan 2018)

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

  Log Message:
  -----------
  lib-index: Fix adding forced cache decisions to existing cache files

If a field already existed in the cache file, the cache decision from the
file was always used. This caused force-decisions to be ignored.


  Commit: 1e06000a1f29261508952c88c7a515ff59d5f0c2
      https://github.com/dovecot/core/commit/1e06000a1f29261508952c88c7a515ff59d5f0c2
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-01-29 (Mon, 29 Jan 2018)

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

  Log Message:
  -----------
  lib-index: Fix removal of forced cache decisions from existing cache files

The forced-flags are written to the cache file when the file is created.
They were also read back, and the force-flag was preserved even when the
configuration was removed.


  Commit: 865a7496bd8fa15185a4fbb6e3a3eabb675c0643
      https://github.com/dovecot/core/commit/865a7496bd8fa15185a4fbb6e3a3eabb675c0643
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-01-29 (Mon, 29 Jan 2018)

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

  Log Message:
  -----------
  lib-index: Finish fixing removal of forced cache decisions from existing cache files

6ef2504d020461b0f480766c41596595a4300023 didn't fix it for already known
fields.


  Commit: d5a4d84db8a2a87aa6636903a0e7d7a15f089bcb
      https://github.com/dovecot/core/commit/d5a4d84db8a2a87aa6636903a0e7d7a15f089bcb
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-01-29 (Mon, 29 Jan 2018)

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

  Log Message:
  -----------
  lib-index: Code cleanup for reading caching decisions

No functional changes.


  Commit: 87dc9b69f02c8684b358cbc841710b39853084e6
      https://github.com/dovecot/core/commit/87dc9b69f02c8684b358cbc841710b39853084e6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-01-29 (Mon, 29 Jan 2018)

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

  Log Message:
  -----------
  lib-index: Write forced cache decision changes immediately to cache file

When mail_always/never_cache_fields doesn't match the current caching
decisions in the cache file, write the updated decisions to the file.


  Commit: 77fe38480ca650d91464059c842ac1ccb5e2297c
      https://github.com/dovecot/core/commit/77fe38480ca650d91464059c842ac1ccb5e2297c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-01-30 (Tue, 30 Jan 2018)

  Changed paths:
    M src/lib-auth/auth-client-request.c

  Log Message:
  -----------
  lib-auth: Fix memory leak in auth_client_request_abort()

This caused memory leaks when authentication was aborted. For example
with IMAP:

a AUTHENTICATE PLAIN
*

Broken by 9137c55411aa39d41c1e705ddc34d5bd26c65021


  Commit: 6910b696990d6a7ae94ba7167a184728fce80dc9
      https://github.com/dovecot/core/commit/6910b696990d6a7ae94ba7167a184728fce80dc9
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-01-30 (Tue, 30 Jan 2018)

  Changed paths:
    M src/lib-auth/auth-client-request.c
    M src/lib-auth/auth-server-connection.c
    M src/lib-auth/auth-server-connection.h

  Log Message:
  -----------
  lib-auth: Remove request after abort

Otherwise the request will still stay in hash table
and get dereferenced when all requests are aborted
causing an attempt to access free'd memory.

Found by Apollon Oikonomopoulos <apoikos at debian.org>

Broken in 1a29ed2f96da1be22fa5a4d96c7583aa81b8b060


Compare: https://github.com/dovecot/core/compare/1272b52e1128...6910b696990d


More information about the dovecot-cvs mailing list