[dovecot/core] a713bc: auth: do NOT feed p_strconcat() with NULL

GitHub noreply at github.com
Fri Jun 3 12:00:11 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: a713bc6d09af82c7415ce773d3a187877037112e
      https://github.com/dovecot/core/commit/a713bc6d09af82c7415ce773d3a187877037112e
  Author: Baofeng <baofeng.wang at dovecot.com>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/auth/auth.c

  Log Message:
  -----------
  auth: do NOT feed p_strconcat() with NULL

p_strconcat will never take NULL as an valid argument.
Check possible NULL string before calling it.


  Commit: 7279da2bd6f969071743fbb8b35b934215365833
      https://github.com/dovecot/core/commit/7279da2bd6f969071743fbb8b35b934215365833
  Author: Baofeng <baofeng.wang at dovecot.com>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/lib-storage/index/dbox-multi/mdbox-storage.c

  Log Message:
  -----------
  storage: do NOT feed p_strconcat() with NULL.

p_strconcat will never take NULL as an valid argument.
So ns->list->set.alt_dir has to be checked NULL.


  Commit: 3927a2114ac30fcc747741dc08151fe70e400463
      https://github.com/dovecot/core/commit/3927a2114ac30fcc747741dc08151fe70e400463
  Author: Baofeng Wang <baofeng.wang at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/lib-fs/fs-api.c

  Log Message:
  -----------
  lib-fs: do NOT feed i_strconcat() with NULL

fill the string with valid content beforehand.


  Commit: a0c3a13887af4a269e2848b4f30014ca16ef4823
      https://github.com/dovecot/core/commit/a0c3a13887af4a269e2848b4f30014ca16ef4823
  Author: Baofeng Wang <baofeng.wang at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/lib/imem.c
    M src/lib/strfuncs.c

  Log Message:
  -----------
  liblib: *_strndup() and *_strconcat() shouldn't pass through NULLs.

Assert NULL string pointer in below functions:
i_strndup(), t_strndup() and p_strconcat(), t_strconcat(), i_strconcat() and
vstrconcat.
Replace former NULL condition check accordingly.


  Commit: 74835112bd3e43451cfc8cafc7fcbcb0660b2da0
      https://github.com/dovecot/core/commit/74835112bd3e43451cfc8cafc7fcbcb0660b2da0
  Author: Baofeng Wang <baofeng.wang at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/lib/imem.c
    M src/lib/strfuncs.c

  Log Message:
  -----------
  lib: remove useless NULL check after calling vstrconcat

behavior change accordingly.


  Commit: db623deb12c3566618faba5a35a44ceed83c3dc0
      https://github.com/dovecot/core/commit/db623deb12c3566618faba5a35a44ceed83c3dc0
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/director/director.c
    M src/lib-http/test-http-server.c
    M src/lib/net.c
    M src/lib/net.h
    M src/master/service.c

  Log Message:
  -----------
  lib: net_get_ip_any[46]() to struct net_ip[46]_any

Also add struct net_ip[46]_loopback.


  Commit: 6f00b37199c3aa6a93742ca368aa94a78b31a641
      https://github.com/dovecot/core/commit/6f00b37199c3aa6a93742ca368aa94a78b31a641
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  print CFLAGS on ./configure


  Commit: 54647e7d2fa31392999f4f46b5c1c32c9c508600
      https://github.com/dovecot/core/commit/54647e7d2fa31392999f4f46b5c1c32c9c508600
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/master/master-settings.c

  Log Message:
  -----------
  master: Give a nicer error if unix/fifo_listener path is empty.

The previous error was simply:

unlink(/var/run/dovecot/) failed: Is a directory


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

  Changed paths:
    M src/lib-storage/mail-storage-private.h
    M src/plugins/fts/fts-api.c
    M src/plugins/fts/fts-search.c
    M src/plugins/fts/fts-storage.c
    M src/plugins/virtual/virtual-storage.c
    M src/plugins/virtual/virtual-storage.h

  Log Message:
  -----------
  virtual: Moved virtual_mailbox_vfuncs to lib-storage.

This allows implementing other virtual storage backends.


Compare: https://github.com/dovecot/core/compare/3f3c1b629196...aa41b2e17912


More information about the dovecot-cvs mailing list