Check for NULL realm argument and n not equal to 1. Fill in realm with an empty string on error in case the caller doesn't check the return value. To generate a diff of this commit: cvs diff -r1.191 -r1.192 krb5/src/lib/krb4/ChangeLog