nothing has been put into the buffer yet.
ticket: 1397
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15314
dc483132-0cff-0310-8789-
dd5450dbe970
* srv_rcache.c (krb5_get_server_rcache): Check for null pointer
supplied in place of name.
+ * unparse.c (krb5_unparse_name_ext): Don't move buffer pointer
+ backwards if nothing has been put into the buffer yet.
+
2003-04-01 Sam Hartman <hartmans@mit.edu>
* rd_req.c (krb5_rd_req): If AUTH_CONTEXT_DO_TIME is cleared,
*q++ = COMPONENT_SEP;
}
- q--; /* Back up last component separator */
+ if (i > 0)
+ q--; /* Back up last component separator */
*q++ = REALM_SEP;
cp = krb5_princ_realm(context, principal)->data;