* cp_key_cnt.c, copy_princ.c:
authorJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 15 Jan 2005 06:34:08 +0000 (06:34 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Sat, 15 Jan 2005 06:34:08 +0000 (06:34 +0000)
commit9f9f9321d2944985af9d4c37cb6ee81366eb55e0
treeb5a195be08642bb35c32be61f0d4a023efd40b45
parente37c2d0506961e0e394c532b585406d1ab6cac94
  * cp_key_cnt.c, copy_princ.c:
    prevent krb5_copy_principal() and krb5_copy_keyblock() from
    calling malloc(0).  On platforms in which malloc(0) returns
    NULL, these functions will return an ENOMEM error the way
    they were written.

ticket: 2881
target_version: 1.4

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17045 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/copy_princ.c
src/lib/krb5/krb/cp_key_cnt.c