not the argument to malloc.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14071
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-12-14 Ezra Peisach <epeisach@mit.edu>
+
+ * hmac_md5.c (k5_hmac_md5_hash): Test if malloc returns NULL and
+ not the argument to malloc.
+
2001-12-05 Ezra Peisach <epeisach@mit.edu>
* t_cksum.c (main): Free memory leak in tests.
ds.length = key->length;
ks.length = key->length;
ds.data = malloc(ds.length);
- if (ds.length == NULL)
+ if (ds.data == NULL)
return ENOMEM;
ks.contents = (void *) ds.data;