[Heimdal-source-changes] [heimdal/heimdal] 29f504: appveyor: Install zstd before other pkgs

Jeffrey Altman noreply at github.com
Tis May 26 19:19:45 CEST 2020


  Branch: refs/heads/jaltman/for-heimdal-7-1-branch
  Home:   https://github.com/heimdal/heimdal
  Commit: 29f50479e17724c4e037f6ffc83d6abce2994ac9
      https://github.com/heimdal/heimdal/commit/29f50479e17724c4e037f6ffc83d6abce2994ac9
  Author: Nicolas Williams <nico at twosigma.com>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M appveyor.yml

  Log Message:
  -----------
  appveyor: Install zstd before other pkgs

Some pacman packages are now being compressed with the ZST algorithm,
but pacman can't handle that unless we first install `zstd`.  This
commit does that.

(cherry picked from commit e3dbc89f8fb6dd0a3a07caee7f752dc2bec3b6d9)


  Commit: e2b379c4db64098493458dbec791500b6e6dfccd
      https://github.com/heimdal/heimdal/commit/e2b379c4db64098493458dbec791500b6e6dfccd
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M lib/krb5/config_file.c

  Log Message:
  -----------
  krb5: krb5_config_parse_debug initialize output parameters

The caller of krb5_config_parse_debug() expects the output
parameters to be initialized even when the return code is non-zero.
This change initializes the output parameters in case the caller
did not.  Not all code paths assign values to the output parameters
which can result in unexpected termination of the process when
an uninitialized stack pointer is assumed to be valid.

Change-Id: I91859bb5a79ec08b8168e503e267070e2d9315a0


  Commit: d6327fa12b293c648f57fc034f9bd63700ecaef5
      https://github.com/heimdal/heimdal/commit/d6327fa12b293c648f57fc034f9bd63700ecaef5
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M lib/krb5/get_cred.c

  Log Message:
  -----------
  lib/krb5: not_found() do not substitute the error text

not_found() is called internally with error code KRB5_CC_NOTFOUND
from find_cred() and get_cred_kdc_capath_worker() where a hard
coded error string "Matching credential not found" makes sense.
However, it is also called from krb5_get_creds() and
krb5_get_credentials_with_flags() with error codes that are
returned from the KDC where hiding the true error string
confuses the end user and hampers debugging.

This change replaces the hard coded string with the result
of krb5_get_error_message() and appends the service ticket
name.

Change-Id: I275c66c7b5783ae25029dce5b851cb389b118bcc
(cherry picked from commit fde95037a8558aeaf47797f39fc9a1645819a040)


Compare: https://github.com/heimdal/heimdal/compare/29f50479e177%5E...d6327fa12b29


More information about the Heimdal-source-changes mailing list