summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/krb/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/parse.c b/src/lib/krb5/krb/parse.c
index 3c93a154b..5bc127a54 100644
--- a/src/lib/krb5/krb/parse.c
+++ b/src/lib/krb5/krb/parse.c
@@ -99,7 +99,7 @@ krb5_principal *principal;
return(ENOMEM);
}
}
- retprinc[0]->length = strlen(realmname)+1;
+ retprinc[0]->length = strlen(realmname);
retprinc[0]->data = realmname;
/* cp points to the beginning of the current component,