[dovecot/core] aea4ef: config: Add config_filter_get_all

GitHub noreply at github.com
Tue Mar 6 13:30:33 EET 2018


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: aea4efba7510f1d9ea8e137e32432f8e64156483
      https://github.com/dovecot/core/commit/aea4efba7510f1d9ea8e137e32432f8e64156483
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M src/config/config-filter.c
    M src/config/config-filter.h

  Log Message:
  -----------
  config: Add config_filter_get_all

Returns all filters


  Commit: 424ca441b2c0a121eb76a039bf2fbfd91899de75
      https://github.com/dovecot/core/commit/424ca441b2c0a121eb76a039bf2fbfd91899de75
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

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

  Log Message:
  -----------
  config: Add command to request all filters


  Commit: d93e71ad6e70c47d004e021fac5efc879e1cf884
      https://github.com/dovecot/core/commit/d93e71ad6e70c47d004e021fac5efc879e1cf884
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M src/lib-master/Makefile.am
    M src/lib-master/master-service-settings-cache.c
    M src/lib-master/master-service-settings-cache.h
    M src/lib-master/master-service-settings.c
    M src/lib-master/master-service-settings.h
    M src/lib-master/test-master-service-settings-cache.c

  Log Message:
  -----------
  lib-master: Support validating config filters against requests

Validation will sanitize the input request and drop any fields
that have no filter in config. E.g. if you have a local block
with name, and nothing else, then lip/rip will be dropped
from the request.


  Commit: 50bedd4a99f9d25ca4647690dbdb335519f8270b
      https://github.com/dovecot/core/commit/50bedd4a99f9d25ca4647690dbdb335519f8270b
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M src/login-common/login-settings.c

  Log Message:
  -----------
  login-common: Enable config filtering by local name

Prevents servername misuse.


  Commit: 807eadc9293954f8ba6d4dc5908adff1b6af51f9
      https://github.com/dovecot/core/commit/807eadc9293954f8ba6d4dc5908adff1b6af51f9
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M src/lib-master/master-service-settings-cache.c

  Log Message:
  -----------
  lib-master: Check local_name only if both filter and input have it

Broken in cedc777a1acf830af4cf0b6e9b0f343c81e20adc


  Commit: 1fa0faa7d5a9d0c957e971e0bbd20f4e4dc1c7c0
      https://github.com/dovecot/core/commit/1fa0faa7d5a9d0c957e971e0bbd20f4e4dc1c7c0
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M src/lib-master/master-service-settings-cache.c

  Log Message:
  -----------
  lib-master: Fix dns_match_wildcard result value check

It returns 0, not TRUE.


  Commit: f69c32877728a8fa623a31c60f1666cdeae9da6a
      https://github.com/dovecot/core/commit/f69c32877728a8fa623a31c60f1666cdeae9da6a
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M src/Makefile.am

  Log Message:
  -----------
  lib-dns: Move before lib-master


  Commit: 8ef7b26cdd27f58c182aaa7fa0c6e756b3976a88
      https://github.com/dovecot/core/commit/8ef7b26cdd27f58c182aaa7fa0c6e756b3976a88
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M src/lib-mail/rfc822-parser.c

  Log Message:
  -----------
  lib-mail: rfc822-parser - Add asserts to make sure parser state is correct


  Commit: d297bf0960d5b93b652cfdeef0d1afb869cb424e
      https://github.com/dovecot/core/commit/d297bf0960d5b93b652cfdeef0d1afb869cb424e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M src/lib-mail/test-message-address.c

  Log Message:
  -----------
  lib-mail: test-message-address - Add TEST_MESSAGE_ADDRESS_FLAG_SKIP_LIST flag

This commit just adds the flag and sets it to 0 for all existing tests.


  Commit: 497f356f61d6c1afedf61e9fe57275f5e4bcc244
      https://github.com/dovecot/core/commit/497f356f61d6c1afedf61e9fe57275f5e4bcc244
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M src/lib-mail/message-address.c
    M src/lib-mail/test-message-address.c

  Log Message:
  -----------
  lib-mail: Fix out-of-bounds read when parsing an invalid email address

The included unit test doesn't fail, but running it with valgrind shows
"Invalid read of size 1" error.

Broken in d6737a17a27402e7a262f7ba8a2ed588d576f23c

Discovered by Aleksandar Nikolic of Cisco Talos


  Commit: afc789bdddfff4e226ea91b1db64f9607aee9910
      https://github.com/dovecot/core/commit/afc789bdddfff4e226ea91b1db64f9607aee9910
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M src/lib-mail/message-address.c
    M src/lib-mail/message-date.c
    M src/lib-mail/message-part-data.c
    M src/lib-mail/rfc2231-parser.c
    M src/lib-mail/rfc822-parser.c

  Log Message:
  -----------
  lib-mail: Make sure parsers don't accidentally go much beyond end pointer


  Commit: a8459287b7e7e30ddde0c393b22c10a59182be1e
      https://github.com/dovecot/core/commit/a8459287b7e7e30ddde0c393b22c10a59182be1e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M src/lib-mail/rfc822-parser.h

  Log Message:
  -----------
  lib-mail: Add rfc822_parser_deinit()

It's not a strict requirement to call this, but it assert-crashes if the
state isn't valid.


  Commit: eb7965367523635fe40bc9f151c46b144a92ca36
      https://github.com/dovecot/core/commit/eb7965367523635fe40bc9f151c46b144a92ca36
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M src/lib-mail/message-address.c
    M src/lib-mail/message-id.c
    M src/lib-mail/message-parser.c

  Log Message:
  -----------
  lib-mail: Refactor code to make the next commit smaller


  Commit: 3bad86a139325e6a979a46f33cd69012df83c352
      https://github.com/dovecot/core/commit/3bad86a139325e6a979a46f33cd69012df83c352
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-03-06 (Tue, 06 Mar 2018)

  Changed paths:
    M src/lib-mail/istream-attachment-extractor.c
    M src/lib-mail/message-address.c
    M src/lib-mail/message-date.c
    M src/lib-mail/message-decoder.c
    M src/lib-mail/message-id.c
    M src/lib-mail/message-parser.c
    M src/lib-mail/message-part-data.c
    M src/lib-mail/message-search.c
    M src/lib-mail/test-rfc2231-parser.c
    M src/lib-mail/test-rfc822-parser.c
    M src/plugins/fts/fts-build-mail.c
    M src/plugins/fts/fts-parser-script.c

  Log Message:
  -----------
  global: Call rfc822_parser_deinit() wherever possible


Compare: https://github.com/dovecot/core/compare/9e1d3ababbf4...3bad86a13932


More information about the dovecot-cvs mailing list