Make it backquote tabs and backslashes in the realm name
authorTheodore Tso <tytso@mit.edu>
Mon, 3 Dec 1990 15:55:07 +0000 (15:55 +0000)
committerTheodore Tso <tytso@mit.edu>
Mon, 3 Dec 1990 15:55:07 +0000 (15:55 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1526 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/unparse.c

index 380591accde90d20d668ff2bd8cb2c1b4c1a81d1..f749bb18dc4adf821ff453d3d16c26ecba78d806 100644 (file)
@@ -119,6 +119,8 @@ int *size;
                switch (*cp) {
                case COMPONENT_SEP:
                case REALM_SEP:
+               case '\t':
+               case '\\':
                        *q++ = '\\';
                        *q++ = *cp;
                        break;