Under low memory conditions (or when testing memory allocation failures), the key pointer will be 0 - and not initialized. Test and return failure before deref a NULL. https://github.com/krb5/krb5/commit/97b6d19bc89c8eb6754225875890e0f2dbdd929d Commit By: epeisach Revision: 24292 Changed Files: U trunk/src/lib/crypto/krb/yarrow/ycipher.c