From: Theodore Tso Date: Mon, 3 Dec 1990 15:55:07 +0000 (+0000) Subject: Make it backquote tabs and backslashes in the realm name X-Git-Tag: krb5-1.0-alpha3~67 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1803ff765948c9775cff20f08dbe9fadc721f15b;p=krb5.git Make it backquote tabs and backslashes in the realm name git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1526 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/unparse.c b/src/lib/krb5/krb/unparse.c index 380591acc..f749bb18d 100644 --- a/src/lib/krb5/krb/unparse.c +++ b/src/lib/krb5/krb/unparse.c @@ -119,6 +119,8 @@ int *size; switch (*cp) { case COMPONENT_SEP: case REALM_SEP: + case '\t': + case '\\': *q++ = '\\'; *q++ = *cp; break;