[Heimdal-source-changes] [heimdal/heimdal] 22c532: gssmask: check return of krb5_init_context

GitHub noreply at github.com
Sön Apr 17 22:12:48 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: 22c5327287c378e9efb7c730e0d6e5b63798d42f
      https://github.com/heimdal/heimdal/commit/22c5327287c378e9efb7c730e0d6e5b63798d42f
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2016-04-17 (Sun, 17 Apr 2016)

  Changed paths:
    M appl/gssmask/gssmask.c

  Log Message:
  -----------
  gssmask: check return of krb5_init_context

Check the return value so that a more obtuse error does not occur
later on.

Change-Id: I2115cc58e6fc24b63272b2ae811d64a4966de5d4


  Commit: a08431b65896fc3340003a9bb72767d492508bf1
      https://github.com/heimdal/heimdal/commit/a08431b65896fc3340003a9bb72767d492508bf1
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2016-04-17 (Sun, 17 Apr 2016)

  Changed paths:
    M lib/gssapi/mech/gss_mo.c

  Log Message:
  -----------
  gss/mech: fix make_sasl_name ctx leak

The EVP_MD_CTX created in make_sasl_name() must be destroyed
to prevent a memory allocation leak.

Change-Id: I0b7f5b1b0f4f252bfcdaec755d09ed75de505f75


  Commit: 4ad2f5830a66b0fc5ebee34332720b7d9e9527d7
      https://github.com/heimdal/heimdal/commit/4ad2f5830a66b0fc5ebee34332720b7d9e9527d7
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2016-04-17 (Sun, 17 Apr 2016)

  Changed paths:
    M lib/hcrypto/evp-pkcs11.c

  Log Message:
  -----------
  hcrypto: p11_module_init_once make handle static global

Coverity complains about the leakage of 'handle' when the identifier
goes out of scope.  Change handle into a static global to hold the
value instead of a stack variable.

Change-Id: I040707ac731558f7d523f128a006a80b98d45b79


Compare: https://github.com/heimdal/heimdal/compare/514f719e4a6a...4ad2f5830a66


More information about the Heimdal-source-changes mailing list