[dovecot/core] c21a2d: lib: Make sure exactly one of _ILP32 and _LP64 is ...

GitHub noreply at github.com
Fri Jul 6 19:30:06 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: c21a2dbaee36c49e45a9d5872aca8caf46b3bbd7
      https://github.com/dovecot/core/commit/c21a2dbaee36c49e45a9d5872aca8caf46b3bbd7
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-05 (Thu, 05 Jul 2018)

  Changed paths:
    M src/lib/compat.h

  Log Message:
  -----------
  lib: Make sure exactly one of _ILP32 and _LP64 is defined at all times

These defines are very common, but not universal.  For example, clang on
illumos and FreeBSD always defines one of them, while 32-bit Ubuntu 16.04
doesn't define either.


  Commit: 95089f6bf7e8496705ea33b922112fcf70101d2f
      https://github.com/dovecot/core/commit/95089f6bf7e8496705ea33b922112fcf70101d2f
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-07-05 (Thu, 05 Jul 2018)

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

  Log Message:
  -----------
  lib: mempool - Remove unnecessary check

The previous commit guarantees that we always have one of _ILP32 and _LP64
defined so we don't have to check ourselves.


  Commit: 0e9bfbbf6863b7a11f0fd414db81d2332edc6307
      https://github.com/dovecot/core/commit/0e9bfbbf6863b7a11f0fd414db81d2332edc6307
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-06 (Fri, 06 Jul 2018)

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

  Log Message:
  -----------
  lib-ssl-iostream: Split code to openssl_iostream_shutdown()


  Commit: dad79730115007324356a27d9d73f216217ec4c6
      https://github.com/dovecot/core/commit/dad79730115007324356a27d9d73f216217ec4c6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-07-06 (Fri, 06 Jul 2018)

  Changed paths:
    M src/lib-ssl-iostream/istream-openssl.c
    M src/lib-ssl-iostream/ostream-openssl.c

  Log Message:
  -----------
  lib-ssl-iostream: Shutdown connection cleanly whenever i/ostream is destroyed

Do this while both istream and ostream still exist. Fixes crash where
openssl_iostream_destroy() attempts to flush the shutdown, but ssl_input
is NULL and it crashes.


Compare: https://github.com/dovecot/core/compare/6624d420d5cb...dad797301150
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list