[dovecot/core] 6dd6da: auth: db-lua - Do not assume params is always pres...

GitHub noreply at github.com
Tue Nov 28 20:30:13 EET 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 6dd6dac8278dff88a926d81f9b3276853ae536cf
      https://github.com/dovecot/core/commit/6dd6dac8278dff88a926d81f9b3276853ae536cf
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M src/auth/db-lua.c

  Log Message:
  -----------
  auth: db-lua - Do not assume params is always present for passdb/userdb field lookup


  Commit: c2cda3faebd799ba9fae92e5eb959b9599d3f025
      https://github.com/dovecot/core/commit/c2cda3faebd799ba9fae92e5eb959b9599d3f025
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M src/auth/db-lua.c

  Log Message:
  -----------
  auth: db-lua - fix auth request registration

It was registered in wrong manner so one could not
easily extend it with passdb and userdb subtables.

The change itself was to change the object to a
table, and register the actual pointer as light userdata
under index 'item', and the passdb and userdb tables
similarly with 'item' in each holding the pointer
to request.


  Commit: c86575ac9776d0995355d03719c82e7ceac802e6
      https://github.com/dovecot/core/commit/c86575ac9776d0995355d03719c82e7ceac802e6
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M src/auth/db-lua.c

  Log Message:
  -----------
  auth: db-lua - Fix password scheme handling

It was left as NULL and had misleading name in some
of the handler functions causing assert-crash.


  Commit: e99ddf2f3615ab59d82233f45a06a62c9f2c5be2
      https://github.com/dovecot/core/commit/e99ddf2f3615ab59d82233f45a06a62c9f2c5be2
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M src/auth/userdb-lua.c

  Log Message:
  -----------
  auth: userdb-lua - Log error if lookup fails

Previously the error would just be discarded.


  Commit: 04e49d6224db95aa75d88cbe9c66adce9fc6afc3
      https://github.com/dovecot/core/commit/04e49d6224db95aa75d88cbe9c66adce9fc6afc3
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M src/auth/userdb-lua.c

  Log Message:
  -----------
  auth: userdb-lua - Fix typo in logging


  Commit: acc6105bd5cf36d8d72165d21f6dc55b0f81fe98
      https://github.com/dovecot/core/commit/acc6105bd5cf36d8d72165d21f6dc55b0f81fe98
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M src/lib/mempool-alloconly.c

  Log Message:
  -----------
  lib: mempool-alloconly - Make sure calloc() size isn't above SSIZE_T_MAX

This avoids valgrind warnings when running unit tests:

Argument 'nmemb' of function calloc has a fishy (possibly negative) value: -9223372036854775808


  Commit: 4ccb6182274da8e95e8dfb940ef9c03755381cd4
      https://github.com/dovecot/core/commit/4ccb6182274da8e95e8dfb940ef9c03755381cd4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-11-28 (Tue, 28 Nov 2017)

  Changed paths:
    M src/director/director-connection.c

  Log Message:
  -----------
  director: Fix logging disconnection error reasons

The previous commit set errno=0, which weren't logged. If error string is
provided, it doesn't matter what the errno is set (as long as it's not 0),
so we'll just use EINVAL.


Compare: https://github.com/dovecot/core/compare/c8d80ba71848...4ccb6182274d


More information about the dovecot-cvs mailing list