[Heimdal-source-changes] [heimdal/heimdal] e77251: hdb: read_master_keytab free memory on failure

GitHub noreply at github.com
Sat Nov 19 06:19:00 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: e772511b78fe0eb7488170f7ceaa4032cf587094
      https://github.com/heimdal/heimdal/commit/e772511b78fe0eb7488170f7ceaa4032cf587094
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2016-11-19 (Sat, 19 Nov 2016)

  Changed paths:
    M lib/hdb/mkey.c

  Log Message:
  -----------
  hdb: read_master_keytab free memory on failure

read_master_keytab() should always return with *mkey == NULL on
failure.  Doing otherwise can result in memory leaks or use of
an uninitialized pointer.

Change-Id: Ice1fd504ca573d73bb51dd3b01770c3f8bc59fd4




More information about the Heimdal-source-changes mailing list