[dovecot/core] fb9b99: auth: Make static analyzer happier.

GitHub noreply at github.com
Wed Nov 2 21:30:10 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: fb9b9914c9bd35a52e5d140df81e3c31f63cb8d5
      https://github.com/dovecot/core/commit/fb9b9914c9bd35a52e5d140df81e3c31f63cb8d5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
    M src/auth/passdb-static.c

  Log Message:
  -----------
  auth: Make static analyzer happier.

Don't complain about uninitialized static_password being sent to
passdb_handle_credentials(). It could only happen for failures, and
passdb_handle_credentials() wouldn't have used the password then.


  Commit: e07b8f034b4c214e94aa5eb93d96ccbe60094b4b
      https://github.com/dovecot/core/commit/e07b8f034b4c214e94aa5eb93d96ccbe60094b4b
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
    M src/lib/buffer.c
    M src/lib/buffer.h

  Log Message:
  -----------
  lib: Add buffer truncate


  Commit: ef2bf290febe82c5047394145909c946d7151ebf
      https://github.com/dovecot/core/commit/ef2bf290febe82c5047394145909c946d7151ebf
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-11-02 (Wed, 02 Nov 2016)

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

  Log Message:
  -----------
  lib: Add unit test for buffer truncate


  Commit: e0dddec702cceb77536a659c71b1973a71c09192
      https://github.com/dovecot/core/commit/e0dddec702cceb77536a659c71b1973a71c09192
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
    M src/lib/var-expand.c

  Log Message:
  -----------
  lib: Do not consume {} inside %{}


  Commit: 7c4af1fdcb1aa5ece9fd6c8a893789666ae29dbb
      https://github.com/dovecot/core/commit/7c4af1fdcb1aa5ece9fd6c8a893789666ae29dbb
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
    M src/lib/var-expand.c

  Log Message:
  -----------
  lib: Add generic hashing support to var-expand

Enables use of

%{H;rounds=<rounds>,truncate=<bits>,salt=<salt>:field}

syntax in any variable expansion. H is any supported
hash algorithm or pkcs5 for PKCS#5 PBKDF2 using SHA256.


  Commit: 14c903cfef0227c750e66298df56c3bf8ef258a1
      https://github.com/dovecot/core/commit/14c903cfef0227c750e66298df56c3bf8ef258a1
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
    M src/lib/test-var-expand.c

  Log Message:
  -----------
  lib: Add tests for hashed var-expand


  Commit: e1d4f6f6ab3cedc30c7477820c394fbd3769964c
      https://github.com/dovecot/core/commit/e1d4f6f6ab3cedc30c7477820c394fbd3769964c
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
    M src/auth/auth-policy.c

  Log Message:
  -----------
  auth: Use buffer_truncate_rshift_bits


  Commit: 4ab8814199f67c28b30f6aeef77d045fc856dc30
      https://github.com/dovecot/core/commit/4ab8814199f67c28b30f6aeef77d045fc856dc30
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
    M src/lib/data-stack.h
    M src/lib/macros.h

  Log Message:
  -----------
  use __func__ instead of __FUNCTION__

__FUNCTION__ is a non-standard extension while __func__ is C99.


  Commit: ccfe24c9fa6bea4298dce6bc2d4cc65f05b8a538
      https://github.com/dovecot/core/commit/ccfe24c9fa6bea4298dce6bc2d4cc65f05b8a538
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
    M src/lib/data-stack.c
    M src/lib/data-stack.h

  Log Message:
  -----------
  data-stack: t_push should always keep track of the marker

Instead of only keeping track of it on DEBUG builds, t_push should always
keep the marker around.  This will help diagnosing issues on non-debug
builds.


  Commit: 9d69283efe8ff56a3b9adb813dc79f7d910ace6a
      https://github.com/dovecot/core/commit/9d69283efe8ff56a3b9adb813dc79f7d910ace6a
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
    M src/lib/data-stack.h

  Log Message:
  -----------
  data-stack: T_BEGIN should use file & line number as the t_push marker

Using a function name is not unique if there is more than one T_BEGIN in a
function.  Therefore, switch the marker passed into t_push to be the
concatenation of __FILE__ and __LINE__.


Compare: https://github.com/dovecot/core/compare/b8673ed3de3d...9d69283efe8f


More information about the dovecot-cvs mailing list