[Heimdal-source-changes] [heimdal/heimdal] 18f311: roken: fix rk_getauxval missing stack variable

GitHub noreply at github.com
Sat Apr 29 07:15:18 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: 18f3115f78c82ec9fa8a1688c7a1309332d74678
      https://github.com/heimdal/heimdal/commit/18f3115f78c82ec9fa8a1688c7a1309332d74678
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2017-04-29 (Sat, 29 Apr 2017)

  Changed paths:
    M lib/roken/getauxval.c

  Log Message:
  -----------
  roken: fix rk_getauxval missing stack variable

if defined(HAVE_GETAUXVAL) && !defined(GETAUXVAL_SETS_ERRNO) the
stack variable declaration for 'a' is missing:

  const auxv_t *a

Declare 'a' so that Heimdal can build again.

Change-Id: If64dd497f240688b76f3dd6139ac68c2ff149a0e


  Commit: 85acd57c8a288ce92f42bcf62737eebe385bce90
      https://github.com/heimdal/heimdal/commit/85acd57c8a288ce92f42bcf62737eebe385bce90
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2017-04-29 (Sat, 29 Apr 2017)

  Changed paths:
    M lib/base/error.c

  Log Message:
  -----------
  base: fix error_cmp

Fix the numeric error value comparison performed by error_cmp().

Identified by AppChecker and previously fixed by Darwin.

Change-Id: I0a72fd381bef0b34b7e7d155bfff03ab4196d38e


  Commit: 93518bfab4e495bf4130be354464965e48a786c0
      https://github.com/heimdal/heimdal/commit/93518bfab4e495bf4130be354464965e48a786c0
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2017-04-29 (Sat, 29 Apr 2017)

  Changed paths:
    M appl/su/su.c
    M kadmin/cpw.c
    M kadmin/random_password.c
    M kuser/kinit.c
    M lib/gssapi/krb5/arcfour.c
    M lib/gssapi/krb5/get_mic.c
    M lib/gssapi/krb5/verify_mic.c
    M lib/gssapi/ntlm/init_sec_context.c
    M lib/hcrypto/md2.c
    M lib/hcrypto/rand-fortuna.c
    M lib/hdb/mkey.c
    M lib/hx509/ks_file.c
    M lib/krb5/crypto-arcfour.c
    M lib/krb5/crypto-des-common.c
    M lib/krb5/crypto-pk.c
    M lib/krb5/deprecated.c
    M lib/krb5/init_creds_pw.c
    M lib/krb5/kcm.c
    M lib/krb5/salt-des.c
    M lib/krb5/salt-des3.c
    M lib/ntlm/ntlm.c

  Log Message:
  -----------
  use memset_s

lib roken includes support for memset_s() but it was not applied
to the Heimdal source tree.

Change-Id: I8362ec97a9be50205bb2d398e65b629b88ce1acd


  Commit: 12afd9c4b76ba11952b63e8bf7059a1f30b2a964
      https://github.com/heimdal/heimdal/commit/12afd9c4b76ba11952b63e8bf7059a1f30b2a964
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2017-04-29 (Sat, 29 Apr 2017)

  Changed paths:
    M kdc/hpropd.c
    M lib/hx509/hxtool.c

  Log Message:
  -----------
  include field separators in comparison

When comparing the first component of a multi-component
string that uses a field separator (e.g., '/' or ':'), be sure
to include the separator in the comparison to ensure that the
comparison does not succeed due to a prefix match.

Change-Id: Ieec3e73cb015a83bb652ec11cd7d83e57755c3d2


  Commit: 02ea07f93d34bbdff79c5e3968b3d51d3bec54d9
      https://github.com/heimdal/heimdal/commit/02ea07f93d34bbdff79c5e3968b3d51d3bec54d9
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2017-04-29 (Sat, 29 Apr 2017)

  Changed paths:
    M lib/gssapi/test_context.c

  Log Message:
  -----------
  gssapi: remove dead code

Remove assignment of a variable to itself.

Identified by AppChecker.

Change-Id: I94012849d8200dc91394a8548e72c61404d7e5b6


Compare: https://github.com/heimdal/heimdal/compare/2e01930cf719...02ea07f93d34


More information about the Heimdal-source-changes mailing list