[Heimdal-source-changes] [heimdal/heimdal] 092cd5: kadmin: kadmin_dispatch out of memory handling

GitHub noreply at github.com
Tors Jan 3 03:19:25 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: 092cd5e838d686e213d3fb5f97ead03f94ffa232
      https://github.com/heimdal/heimdal/commit/092cd5e838d686e213d3fb5f97ead03f94ffa232
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-01-02 (Wed, 02 Jan 2019)

  Changed paths:
    M kadmin/server.c

  Log Message:
  -----------
  kadmin: kadmin_dispatch out of memory handling

Coverity determined that a NULL pointer segmentation fault could occur
if krb5_storage_emem() fails.  Use krb5_enomem() to set an error message
on the context and do not perform further krb5_storage operations.

Change-Id: I9587208e46c184bb061443a44581a32dd722de33


  Commit: e787bd1bc15b6a85971a177f0f8f3b9738404e07
      https://github.com/heimdal/heimdal/commit/e787bd1bc15b6a85971a177f0f8f3b9738404e07
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2019-01-02 (Wed, 02 Jan 2019)

  Changed paths:
    M kadmin/server.c

  Log Message:
  -----------
  kadmin: kadmin_dispatch free krb5_principals at function exit

Change-Id: Ic50a17abf10c7055574de2236cdf1d1469375d8b


Compare: https://github.com/heimdal/heimdal/compare/ff7a969c321a...e787bd1bc15b
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Heimdal-source-changes mailing list