Module Name: krb5 Committed By: jaltman Date: Sat Jan 15 06:34:09 UTC 2005 Modified Files: krb5/src/lib/krb5/krb/ChangeLog krb5/src/lib/krb5/krb/copy_princ.c krb5/src/lib/krb5/krb/cp_key_cnt.c Added Files: Removed Files: Log Message ticket: 2881 target_version: 1.4 * 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. To generate a diff of this commit: cvs diff -r5.457 -r5.458 krb5/src/lib/krb5/krb/ChangeLog cvs diff -r5.24 -r5.25 krb5/src/lib/krb5/krb/copy_princ.c cvs diff -r5.12 -r5.13 krb5/src/lib/krb5/krb/cp_key_cnt.c