[dovecot/core] a7ad75: lib-dcrypt: Fix to backend module loading.

GitHub noreply at github.com
Mon Jun 20 15:00:13 UTC 2016


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

  Changed paths:
    M src/lib-dcrypt/dcrypt.c

  Log Message:
  -----------
  lib-dcrypt: Fix to backend module loading.

Especially don't die if we fail to load the module.


  Commit: 285bfe946c2d54928b272270dd5eef9041b24271
      https://github.com/dovecot/core/commit/285bfe946c2d54928b272270dd5eef9041b24271
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-20 (Mon, 20 Jun 2016)

  Changed paths:
    M src/Makefile.am
    M src/lib-dcrypt/Makefile.am
    M src/lib-dcrypt/dcrypt-openssl.c
    M src/lib-ssl-iostream/Makefile.am
    A src/lib-ssl-iostream/dovecot-openssl-common.c
    A src/lib-ssl-iostream/dovecot-openssl-common.h
    M src/lib-ssl-iostream/iostream-openssl-context.c

  Log Message:
  -----------
  lib-dcrypt, lib-ssl-iostream: Share OpenSSL init/deinit code.


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

  Changed paths:
    M src/lib-dcrypt/Makefile.am

  Log Message:
  -----------
  lib-dcrypt: Added library dependencies to unit tests


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

  Changed paths:
    M src/lib-dcrypt/dcrypt-openssl.c
    M src/lib-dcrypt/dcrypt-private.h
    M src/lib-dcrypt/dcrypt.c
    M src/lib-dcrypt/dcrypt.h
    M src/lib-dcrypt/test-crypto.c
    M src/lib-dcrypt/test-stream.c

  Log Message:
  -----------
  lib-dcrypt: Allow specifying crypto_device (OpenSSL engine).


  Commit: 864e580b625a632c0e5a7b0591ffd0e707f276f4
      https://github.com/dovecot/core/commit/864e580b625a632c0e5a7b0591ffd0e707f276f4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-20 (Mon, 20 Jun 2016)

  Changed paths:
    M src/lib-ssl-iostream/dovecot-openssl-common.c

  Log Message:
  -----------
  openssl: Use our own malloc()/realloc() that will die on out-of-memory.

This is likely safer rather than caller thinking for example that some input
is invalid when it's only a temporary memory allocation problem.


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

  Changed paths:
    M run-test-valgrind.supp

  Log Message:
  -----------
  Added valgrind suppression for OpenSSL <v1.0.2

This one works at least for CentOS 6. Because the OpenSSL library is
loaded as a plugin and unloaded before exit, valgrind sees only "???"
as the addresses. That's why we're using "obj:*". But the number of
obj:* lines is also important, so this may not work everywhere.


Compare: https://github.com/dovecot/core/compare/f98d562bc4d5...bb54eb984027


More information about the dovecot-cvs mailing list