ac1c2d05bc23419b9173d04a7c85a961f5d77445
In cred_delete(), sp is freed after returning from krb5_storage_to_data(). Between this point and the subsequent assignment to sp via krb_storage_emem() there are two jumps to out, both are executed in an ENOMEM scenario: malloc fail for cred_data_in_file and krb5_principal_set_realm() fail. In out, sp is freed again. This patch fixes the issue by freeing sp right before the krb5_storage_emem() call. Signed-off-by: Linar Galimov <galimovlz@sgu.ru> Signed-off-by: Dmitry Mikhalchenko <tascad@altlinux.org>
Heimdal
Heimdal is an implementation of:
- ASN.1/DER,
- PKIX, and
- Kerberos.
For information how to install see here.
There are man pages for most of the commands.
Bug reports and bugs are appreciated. Use GitHub issues.
For more information see the project homepage https://heimdal.software/heimdal/ or the mailing lists:
heimdal-announce@heimdal.software low-volume announcement heimdal-discuss@heimdal.software high-volume discussion
send mail to heimdal-announce-subscribe@heimdal.software and heimdal-discuss-subscribe@heimdal.software respectively to subscribe.
Build Status
Description
Languages
C
91.9%
Shell
2.9%
Roff
2.8%
Makefile
0.6%
M4
0.6%
Other
1.1%