[dovecot/core] 378e6c: o_stream_send_istream() API changed again

GitHub noreply at github.com
Mon May 30 19:00:13 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 378e6cb162b355d6f103526505bc00b9a78962e7
      https://github.com/dovecot/core/commit/378e6cb162b355d6f103526505bc00b9a78962e7
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-30 (Mon, 30 May 2016)

  Changed paths:
    M src/doveadm/server-connection.c
    M src/imap/cmd-getmetadata.c
    M src/imap/cmd-urlfetch.c
    M src/imap/imap-fetch-body.c
    M src/lib-fs/fs-api.c
    M src/lib-fs/ostream-metawrap.c
    M src/lib-http/http-client-request.c
    M src/lib-http/http-server-response.c
    M src/lib-http/test-http-payload.c
    M src/lib-http/test-http-request-parser.c
    M src/lib-http/test-http-response-parser.c
    M src/lib-http/test-http-transfer.c
    M src/lib-imap-client/imapc-connection.c
    M src/lib-storage/index/index-storage.c
    M src/lib/file-copy.c
    M src/lib/iostream-temp.c
    M src/lib/ostream-file.c
    M src/lib/ostream-private.h
    M src/lib/ostream.c
    M src/lib/ostream.h
    M src/lib/test-iostream-temp.c
    M src/lib/test-ostream-file.c
    M src/plugins/mail-filter/istream-ext-filter.c

  Log Message:
  -----------
  o_stream_send_istream() API changed again

The new API enforces the caller to correctly handle all the possible
situations. It also makes in unambiguous whether to wait for input or
output stream.


  Commit: 0175d37a5ae5a4d146ca41b684bd38d9b03683cb
      https://github.com/dovecot/core/commit/0175d37a5ae5a4d146ca41b684bd38d9b03683cb
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-05-30 (Mon, 30 May 2016)

  Changed paths:
    M src/auth/auth-request-var-expand.c
    M src/auth/password-scheme.c
    M src/doveadm/doveadm-dsync.c
    M src/doveadm/doveadm-dump-log.c
    M src/imap-hibernate/imap-client.c
    M src/imap/imap-client.c
    M src/lib-http/http-transfer-chunked.c
    M src/lib-imap/imap-date.c
    M src/lib-imap/imap-utf7.c
    M src/lib-index/test-mail-index-sync-ext.c
    M src/lib-lda/mail-deliver.c
    M src/lib-lda/mail-send.c
    M src/lib-mail/mail-user-hash.c
    M src/lib-ssl-iostream/iostream-openssl-common.c
    M src/lib-ssl-iostream/iostream-openssl.c
    M src/lib-storage/index/shared/shared-storage.c
    M src/lib-storage/mail-storage-service.c
    M src/lib-storage/mailbox-list.c
    M src/lib/data-stack.c
    M src/lib/data-stack.h
    M src/lib/hex-binary.c
    M src/lib/mempool-datastack.c
    M src/lib/mempool-unsafe-datastack.c
    M src/lib/net.c
    M src/lib/strfuncs.c
    M src/lib/test-data-stack.c
    M src/lib/test-istream-concat.c
    M src/lib/test-istream-seekable.c
    M src/lib/var-expand.c
    M src/login-common/client-common.c
    M src/login-common/login-settings.c
    M src/login-common/ssl-proxy-openssl.c
    M src/plugins/acl/acl-shared-storage.c
    M src/plugins/fts-squat/squat-trie.c
    M src/plugins/fts-squat/squat-uidlist.c
    M src/pop3/pop3-client.c
    M src/pop3/pop3-commands.c
    M src/ssl-params/ssl-params.c

  Log Message:
  -----------
  Remove t_malloc in favour of t_malloc_no0

Using either t_malloc_no0 or t_malloc0 makes it clear whether the
allocated memory is zeroed or not.


  Commit: 657d704a513d74c8bd0b2d355c88d8723a4ec69b
      https://github.com/dovecot/core/commit/657d704a513d74c8bd0b2d355c88d8723a4ec69b
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-05-30 (Mon, 30 May 2016)

  Changed paths:
    M src/auth/auth-request-var-expand.c
    M src/lib-http/http-transfer-chunked.c
    M src/lib/net.c

  Log Message:
  -----------
  Use t_new in complicated t_malloc_no0 calls


  Commit: 11f02cda5a67ba09167ef001e5600833c5803a7b
      https://github.com/dovecot/core/commit/11f02cda5a67ba09167ef001e5600833c5803a7b
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-05-30 (Mon, 30 May 2016)

  Changed paths:
    M src/lib-imap/imap-date.c
    M src/lib-imap/imap-utf7.c
    M src/lib-index/test-mail-index-sync-ext.c
    M src/lib-ssl-iostream/iostream-openssl-common.c
    M src/lib-ssl-iostream/iostream-openssl.c
    M src/login-common/ssl-proxy-openssl.c

  Log Message:
  -----------
  Replace some t_malloc_no0 calls with t_malloc0

This might increase safety.


  Commit: 4fbd5c5e113078e72f29465ccc96d44955ceadc2
      https://github.com/dovecot/core/commit/4fbd5c5e113078e72f29465ccc96d44955ceadc2
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-30 (Mon, 30 May 2016)

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

  Log Message:
  -----------
  lib-dcrypt: Finish previous t_malloc() change.


Compare: https://github.com/dovecot/core/compare/1ada45cd38aa...4fbd5c5e1130


More information about the dovecot-cvs mailing list