[Heimdal-source-changes] [heimdal/heimdal] 766e6c: Avoid potential memory leak in krb5_sendto_set_hos...

GitHub noreply at github.com
Ons Aug 23 22:10:40 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: 766e6cda8af38d4ef4194b283b3043b1dd056c5d
      https://github.com/heimdal/heimdal/commit/766e6cda8af38d4ef4194b283b3043b1dd056c5d
  Author: Viktor Dukhovni <viktor at twosigma.com>
  Date:   2017-08-23 (Wed, 23 Aug 2017)

  Changed paths:
    M lib/krb5/send_to_kdc.c

  Log Message:
  -----------
  Avoid potential memory leak in krb5_sendto_set_hostname

If the hostname was already set, a typo in a test meant we were not
freeing it.  While we're at it, handle the unlikely possibility that
the existing pointer is passed as the new value.




More information about the Heimdal-source-changes mailing list